Appolication Theme NEW property request


Author
Message
Ben Hayat
Ben Hayat
Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Would it be possible to add a new property to Application Theme class (Registry Key), that would allow for the Application Theme to save/retrieve the previously used theme within SF?



This way, if the Application Theme is "No Them", it can then use the Default Application Theme (if any), but if there is a theme already saved, it should use that.

Same thing for saving it, if what the user has selected (meaning if the user has changed the Application.Theme) then SF should save that new Theme into Registry.



Thank you [Sir] Smile




..ßen
Ben Hayat
Ben Hayat
Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
As I was looking at BrowseDialg in more detail today, I noticed there is a button that says "Search fields" on the menu strip. If you click, it shows the list of fields to show or not to show. But there is a button on the menu that says "Save". Apparently, this saves it to registry, since it stays persistent, I'm talking about the same behavior to store the selected Theme.



Thank you again!

..ßen
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Application Theme to save/retrieve the previously used theme within SF?

I really don't see the need for this and this to me is different than the Search FIelds in the BrowseDialog.  Really a users themed preferences should not be saved on a per machine basis but rather by a per logged in user basis.  If a user goes from machine to machine then the theme should follow that user.  If a different user logs into your application on the same machine, then that users preferred theme should be loaded.  We have a preferences file in our medical software and allow the user to choose their theme.  After the user logs in we then load that theme from the preferences table.  This is something that can be done very easily on your part and really may change from environment to environment based on a developers needs.

The BrowseDialogs search fields collection is a more complicated element and is internal to the BrowseDialog and there is no easy way for you, the developer, to handle this yourself other than through the use of a registry key.  There is also quite a bit more data that is saved through the SearchFields collection rather than a single shared property on the ApplicationTheme level.

Hope this makes sense. Smile

Ben Hayat
Ben Hayat
Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)Advanced StrataFrame User (582 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
Trent; your point is well taken and you're absolutely correct that it should based on logged in user that WS. I'll approach it your way!



Good point. Thanks!

..ßen
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
I am glad this solution will work for you Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search