adragan Posted June 1, 2015 Share Posted June 1, 2015 I would like to let the users have the posibility of choosing the theme. The demo was not updated to the last version of UniGui. Assigning a value to the UniMainModule.Theme after it was created does nothing. UniMainModule.Theme:='blue'; //Does nothing !! Does anyone know how's done ? Quote Link to comment Share on other sites More sharing options...
docjones Posted June 1, 2015 Share Posted June 1, 2015 you must restart session to apply theme becouse theme must be apply when session start Save theme in cookie, and when user start session, get user cookie and set the theme. Quote Link to comment Share on other sites More sharing options...
adragan Posted June 2, 2015 Author Share Posted June 2, 2015 Thanks, I'll try that ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.