StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Appolication Theme NEW property requestExpand / Collapse
Author
Message
Posted 05/21/2007 8:01:01 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 10/31/2007 5:20:05 PM
Posts: 374, Visits: 1,197
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]



..ßen
Post #8933
Posted 05/22/2007 8:45:02 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 10/31/2007 5:20:05 PM
Posts: 374, Visits: 1,197
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
Post #8940
Posted 05/22/2007 9:04:20 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
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.

Post #8945
Posted 05/22/2007 9:16:09 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 10/31/2007 5:20:05 PM
Posts: 374, Visits: 1,197
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
Post #8953
Posted 05/22/2007 9:17:57 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Today @ 4:58:13 AM
Posts: 4,379, Visits: 4,421
I am glad this solution will work for you
Post #8954
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 9:12am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 12 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.