CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

non visual theme switcher component

Suggest new components/features

by seanwebb » 20 Sep 2012 13:12

For the cg components to work on a form a theme switcher needs to be on that form.
It can be hidden , but then each form must have the themeswitcher, set visible=false and then set renderinviblecontrols=true for the form, which then affects all forms. It would be logical to on have the switcher available on one or two forms in an application only

This non visual comp would bypass this process...
seanwebb
 
Posts: 50
Joined: 22 May 2012 11:12

by ScottWGast » 20 Sep 2012 14:25

I agree... this would be great.
Currently, I have a base form from which I inherit. In the base form OnCreate, I set the StyleSheet.Filename to the appropriate .css file in the ui-themes folder.

Self.StyleSheet.Filename:= WebApplication.ApplicationPath + 'wwwroot\ui-themes\' + IWServerController.Theme + '\jquery-ui.css';
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02


Return to Suggestions

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.