Git Product home page Git Product logo

powerbuilder-ui-example's Introduction

PowerBuilder-UI-Example

This demo is a PowerBuilder application, developed with Appeon PowerBuilder 2022. It demonstrates techniques to modernize the look of an application. It shows two major functionalities:

  1. Integrating the RibbonBar control into a MDI application.

    • Load a RibbonBar XML file.
    • Customize the invoke of the Clicked event of each child control of the RibbonBar control.
    • Dynamically create the menu under the LargeButton function.
    • Use scripts to dynamically enable/disable the status of each control on the RibbonBar.
  2. Applying the UI theme and its customization.

    • Dynamically switch between 4 themes.
    • Comparison between a window using the standard Theme and the customized Theme.
    • Use Theme to customize a window and its related standard controls.
    • Customize the Theme of a visual user object.
    • Customize the Theme of a DataWindow.

Note: This Demo only provides the customized theme color comparison based on two themes (‘Flat Design Dark’ and ‘Flat Design Blue’).

Sample Project Structure

The project is structured as follows.

|—— PowerBuilder-UI-Example Repository 
	|—— Appeon.UIDemo				PowerBuilder project source code

Setting Up the Project

Download this PowerBuilder demo application, and then:

  1. Open the PowerBuilder project in PowerBuilder 2022.
  2. Download the database file pbdemo2021_for_sqlanywhere.zip from PowerBuilder-Project-Example-Database and restore it.
  3. Configure the ODBC data source.
  4. Copy the database connection string in the configured data source to replace the connection string in the original project. Note that the PWD in the connection string is masked. Please manually change it to the real password.
  5. Run the PowerBuilder project.

PowerServer Deployment

The source code includes a PowerServer project. If you want to deploy it using PowerServer, you need to go to the project object, switch to the Web APIs tab, and import your own license and then you can directly deploy it. (If you current PowerBuilder login account has PowerServer license, you can choose Auto Import, otherwise, you can choose Import from file.)

powerbuilder-ui-example's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.