When the PowerBuilder application is deployed, the following files and folder are required for the UI Theme to work properly:
-
pbtheme.dll and pbjson.dll
If you use the Runtime Packager to package the application runtime files, you can select the "UI Theme Support" option to automatically package these files.
If you manually package the PowerBuilder runtime files, please go to the PowerBuilder Runtime location and get these files.
-
"theme" folder
Besides the above runtime files, you will also need to manually copy the "theme" folder when creating the application installation package, so that the theme definition files will be installed along with the application and will be accessible to the application.
"theme" folder can be copied from the "%AppeonInstallPath%\PowerBuilder [version]\IDE" directory.
To package the theme folder:
-
Manually copy the theme definition folder (just like copy the other resource files) to the path according to how you apply the theme:
-
If you have not specified the path in the
ApplyThemefunction (and no matter if you have specified the theme path in the Application painter), copy the "theme" folder to the same location of the application's executable file. -
If you have specified the relative path in the
ApplyThemefunction, then copy the theme definition folder to the path relative to the location of the application's executable file. -
If you have specified the absolute path in the
ApplyThemefunction, make sure the theme definition folder exists in the specified path or change to use no path or the relative path and then copy the theme folder according to the above instructions. -
If you have specified the theme path in the Application painter, copy the "theme" folder to the same location of the application's executable file.
-
-


