Tech Articles


UI Theme Quick Start Tutorial


This quick start tutorial walks you through the 3 simple steps to apply the UI Theme to your PowerBuilder application. For more advanced techniques, such as how to define a customized theme and how to define theme settings for selected objects/controls, you may refer to the advanced tutorial: https://community.appeon.com/index.php/articles-blogs/tutorials-articles/2-powerbuilder/301-applying-a-new-ui-theme-to-your-application-2.

Step 1 - Select a theme for the application

To select a theme in the Application painter:

  1. In the Application painter, select the General tab page.
  2. On the General tab page, click the Additional Properties button to display the Application properties dialog box.
  3. In the Application properties dialog box, select the Themes tab, and then select a theme from the Theme dropdown list.
  4. There are four theme options: Flat Design Blue, Flat Design Dark, Flat Design Grey and Flat Design Silver. All the themes featuring flat design style in contrasting to the old-fashioned design. Once you select a theme, you will see a preview.
  5. Click OK.
Step 2 - View the application in the new UI theme

The selected UI Theme will not take effect during design time. As such, you are not able to view the effect of the new UI theme in the painter or when you run a single object.

The UI Theme will take effect when you:

  • In the system tree, select Run/Preview on the target application to run it;
  • On the PowerBar, click the Select and Run button, and then select the target application to run; or
  • Run the compiled .exe file of the target application.
Step 3 - Deploy the application with the new UI theme

When you deploy the application, make sure to deploy the following two runtime files together with the application for the UI Theme support:

  • Pbtheme190.dll
  • Pbjson190.dll

Also, you must copy the whole "theme190" folder from the "%Appeon%\Shared\PowerBuilder" directory and put the folder in the root folder of the application .exe file.

Comments (0)
There are no comments posted here yet

Find Articles by Tag

RESTClient Database Table Data OAuth 2.0 HTTPClient Windows OS OLE NativePDF PowerBuilder Error SqlExecutor Linux OS Performance Git Visual Studio Debugging Expression .NET Std Framework SQL Server Installation Encoding CI/CD DLL Validation Stored Procedure Interface Web API PDF External Functions Variable JSONGenerator Deployment JSON DataType SOAP CoderObject MessageBox Charts PowerScript (PS) ActiveX Bug PBNI OrcaScript PowerServer Mobile Database OAuth Window DataWindow JSON Android Database Table Migration XML Platform PFC API Windows 10 Icons TFS Export JSON Database Table Schema Event Handling Icon TreeView REST UI WinAPI Script TLS/SSL JSONParser GhostScript SnapDevelop Application DragDrop Text Branch & Merge RichTextEdit Control Data PowerServer Web PostgreSQL Trial Outlook Debug 64-bit Service SVN RibbonBar Builder Oracle Elevate Conference Database Object Jenkins PBVM CrypterObject PostgreSQL ODBC driver COM .NET Assembly Azure SqlModelMapper Automated Testing Web Service Proxy Sort Model UI Modernization SQL License WebBrowser Excel Authentication Database Connection SnapObjects Source Control Resize Mobile Class Repository Source Code Open Source Debugger InfoMaker Encryption Messagging Event Handler 32-bit C# File PowerBuilder Compiler Design Database Profile Graph PBDOM Authorization Import RibbonBar Event Database Painter iOS IDE Menu Filter .NET DataStore ODBC Export UI Themes BLOB DevOps Testing TortoiseGit PDFlib Configuration Transaction DataWindow Array Import JSON PowerBuilder (Appeon) Syntax SDK