PowerBuilder Guide

Refresh objects – PB Docs 2017

Refresh objects After the object is loaded into the PowerBuilder IDE, it might be changed outside of the PowerBuilder IDE, for example, the developer merges the changes from the other version using an SVN client, and such changes will not be detected by the PowerBuilder IDE, you will need to right click the object and…

View the status of source-controlled objects – PB Docs 2017

View the status of source-controlled objects After a workspace is successfully added to the SVN source control, icons in the PowerBuilder System Tree display the source control status of all objects in the workspace. The icons and their meanings are described in the following tables. Icon SVN source control status of object displaying icon The…

Upload PBL – PB Docs 2017

Upload PBL The PBL file will be uploaded to the source code server automatically when the workspace is first added to source control, and the PBL file will be downloaded automatically when the workspace is first downloaded from source control to a local machine. After that, it will not need to be uploaded or downloaded…

C0111 Compiler Error – PB Docs 2017

C0111 Compiler Error Message text Maximum script size exceeded. Document get from Powerbuilder help Thank you for watching.

Importing .NET assemblies – PB Docs 2017

Importing .NET assemblies You can import .NET assemblies into .NET targets from the .NET Assemblies page in the Properties dialog box for the target. (Right-click on the target and select .NET Assemblies from the pop-up menu.) Click the Browse button to open the Browse for a .NET Assembly dialog box, from which you can browse…

C0112 Compiler Error – PB Docs 2017

C0112 Compiler Error Message text Incompatible types in array assignment: type1, type2. Explanation This example generates C0112 because it mixes int and char values in the array assignment:

See Also Assignment statement in the section called “Assignment” in PowerScript Reference. Document get from Powerbuilder help Thank you for watching.

Specifying target properties – PB Docs 2017

Specifying target properties Contents Specifying the target’s library search path Importing .NET assemblies To set properties for a target, right-click the target in the System Tree and select Properties from the pop-up menu. Close all painters The tab pages in the target properties dialog box are disabled if any painters are open. All target types…

C0011 Compiler Error – PB Docs 2017

C0011 Compiler Error Message text Incompatible types in expression: type1, type2. Explanation The following code generates C00011:

See Also Datatype of PowerBuilder expressions in the section called “Datatype of PowerBuilder expressions” in PowerScript Reference. Document get from Powerbuilder help Thank you for watching.

Writing application-level scripts – PB Docs 2017

Writing application-level scripts Contents Setting application properties in scripts When a user runs an application, an Open event is triggered in the Application object. The script you write for the Open event initiates the activity in the application. Typically it sets up the environment and opens the initial window. When a user ends an application,…

Setting application properties in scripts – PB Docs 2017

Setting application properties in scripts The Application object has several properties that specify application-level properties. For example, the property ToolbarText specifies whether text displays on toolbars in an MDI application. You can reference these properties in any script in the application using this syntax:

For example, to specify that text displays on toolbars in…