The UI Theme takes effect only when the application is run, not at the painter or under preview.
To make the theme effective:
-
Click the Run or Select and Run button on the PowerBar to run the application and review the UI effect of the selected theme.
-
Or, run the compiled executable file of the application.
Disable the following options in PowerBuilder IDE or the Windows operating system as they may prevent the selected theme working correctly:
-
Disable the "Enable Windows Classic Style in the IDE" option in System Options and the "Windows classic style" option in the project painter
When you run the application from the IDE or build the application in the project painter, you should not select the Windows classic style option, otherwise, the application UI will be rendered in the Windows classic style instead of the selected theme.
-
Avoid using the "Windows Classic" theme in the Windows operating system
When the application is run in the Windows system and if the Windows system theme is set to "Windows Classic", then the application UI will be rendered in the Windows Classic theme instead of the selected theme.
-
Disable the "Use Windows XP style DPI scaling" option in Windows Server 2012
If the scaling percentage is set to 125% or lower, the "Use Windows XP style DPI scaling" option will be automatically selected, which will prevent the selected theme working correctly. In such case (125% or lower), you should manually uncheck the "Use Windows XP style DPI scaling" option.
-


