Using Themes
Visual LANSA Themes are enabled through the application object Sys_Appln.
Usually you enable a theme like this:
1. Set the theme for the application in its startup code (typically in the CreateInstance event of application main form):
#Sys_Appln.Theme := 2007Blue
2. Enable themes for the main form of the application. This can be done from the property sheet for the form or programmatically:
#Main_Form.ThemeStyle := Themed
Compiling and running your application will now paint your main form as a Themed form.
|
|