Application Techniques – PB Docs 2021
Application Techniques Appeon PowerBuilder® 2021 FOR WINDOWS DOCUMENT ID: DC37774-01-1900-01 LAST REVISED: January 27, 2022 Copyright © Appeon. All rights reserved. This publication pertains to Appeon software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this document is subject to change without notice. The software described herein is furnished…
AddCategory – PB Docs 2021
AddCategory PowerScript function Description Adds a new category to the category axis of a graph. AddCategory is for a category axis whose datatype is string. Applies to Graph controls in windows and user objects. Does not apply to graphs within DataWindow objects because their data comes directly from the DataWindow. Syntax
|
1 |
controlname.AddCategory ( categoryname ) |
Argument Description controlname…
AddItemNumber – PB Docs 2021
AddItemNumber PowerScript function Description Adds a child item of JsonNumberItem type in the JSON generator object. Applies to JSONGenerator objects Syntax
|
1 |
objectname.AddItemNumber ( ParentItemHandle, Value ) |
|
1 |
objectname.AddItemNumber ( ParentItemHandle, Key, Value ) |
|
1 |
objectname.AddItemNumber ( ParentItemHandle, Type ) |
|
1 |
objectname.AddItemNumber ( ParentItemHandle, Key, Type ) |
|
1 |
objectname.AddItemNumber ( ParentItemPath, Value ) |
|
1 |
objectname.AddItemNumber ( ParentItemPath, Key, Value ) |
|
1 |
objectname.AddItemNumber ( ParentItemPath, Type ) |
|
1 |
objectname.AddItemNumber ( ParentItemPath, Key, Type ) |
Argument Description objectname The name of the JSONGenerator object in which you want to add an item ParentItemHandle A long whose value is the handle of the parent item of JsonArrayItem or JsonObjectItem…
AddItemNull – PB Docs 2021
AddItemNull PowerScript function Description Adds a child item of JsonNullItem type in the JSON generator object. Applies to JSONGenerator objects Syntax
|
1 |
objectname.AddItemNull ( ParentItemHandle ) |
|
1 |
objectname.AddItemNull ( ParentItemHandle, Key ) |
|
1 |
objectname.AddItemNull ( ParentItemPath ) |
|
1 |
objectname.AddItemNull ( ParentItemPath, Key ) |
Argument Description objectname The name of the JSONGenerator object in which you want to add an item ParentItemHandle A long whose value is the handle of the parent item of JsonArrayItem or JsonObjectItem…
Application object – PB Docs 2021
Application object An application is a collection of PowerBuilder windows and objects that provide functionality for user activities, such as order entry or accounting activities. The Application object is the entry point into the applications. When a user runs an application, the Open event of the Application object is fired. The Open event triggers the…
About Transaction objects – PB Docs 2021
About Transaction objects Contents Description of Transaction object properties Transaction object properties and supported PowerBuilder database interfaces In a PowerBuilder database connection, a Transaction object is a special nonvisual object that functions as the communications area between a PowerBuilder application and the database. The Transaction object specifies the parameters that PowerBuilder uses to connect to…
AddSeries – PB Docs 2021
AddSeries PowerScript function Description Adds a series to a graph, naming it with the specified name. The new series is also assigned a number. A graph’s series are numbered consecutively, according to the order in which they are added. Applies to Graph controls in windows and user objects. Does not apply to graphs within DataWindow…
About the sample applications – PB Docs 2021
About the sample applications PowerBuilder provides sample applications with source code so you can learn and reuse the techniques used in the samples. These samples are contributed by Appeon employees and users and are updated frequently. They include standalone applications that illustrate specific features of PowerBuilder, including features such as using Web services, and writing…
AddItemDate – PB Docs 2021
AddItemDate PowerScript function Description Adds a child item of JsonStringItem type in the JSON generator object. Applies to JSONGenerator objects Syntax
|
1 |
objectname.AddItemDate ( ParentItemHandle, Value ) |
|
1 |
objectname.AddItemDate ( ParentItemHandle, Key, Value ) |
|
1 |
objectname.AddItemDate ( ParentItemPath, Value ) |
|
1 |
objectname.AddItemDate ( ParentItemPath, Key, Value ) |
Argument Description objectname The name of the JSONGenerator object in which you want to add an item ParentItemHandle A long whose value is the handle of the parent item of JsonArrayItem or JsonObjectItem…
About the User Object painter – PB Docs 2021
About the User Object painter The User Object painter has five implementations, depending on the type of user object you are working with. It has several views where you specify how the user object behaves and, for custom visual and standard visual user objects, how it looks. For details about the views, how you use…