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

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