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…
Activate – PB Docs 2021
Activate PowerScript function Description Activates the object in an OLE container, allowing the user to work with the object using the server’s commands. Applies to OLE controls and OLE DWObjects (objects within a DataWindow object that is within a DataWindow control) Syntax
|
1 |
objectref.Activate ( activationtype ) |
Argument Description objectref The name of the OLE control or the fully…
AddressChange – PB Docs 2021
AddressChange PowerScript event Description Occurs when the frame’s address changes. Event ID Event ID Objects None WebBrowser controls Arguments Argument Description newUrl The frame’s new address. Return Values None See also CertificateError DownloadingStart DownloadingStateChanged EvaluateJavascriptFinished NavigationError NavigationProgressIndex NavigationStart NavigationStateChanged PdfPrintFinished ResourceRedirect TitleTextChanged Document get from Powerbuilder help Thank you for watching.
AddItemBoolean – PB Docs 2021
AddItemBoolean PowerScript function Description Adds a child item of JsonBooleanItem type in the JSON generator object. Applies to JSONGenerator objects Syntax
|
1 |
objectname.AddItemBoolean ( ParentItemHandle, Value ) |
|
1 |
objectname.AddItemBoolean ( ParentItemHandle, Key, Value ) |
|
1 |
objectname.AddItemBoolean ( ParentItemPath, Value ) |
|
1 |
objectname.AddItemBoolean ( 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…
AddItemDateTime – PB Docs 2021
AddItemDateTime PowerScript function Description Adds a child item of JsonStringItem or JsonNumberItem type in the JSON generator object. Applies to JSONGenerator objects Syntax
|
1 |
objectname.AddItemDateTime ( ParentItemHandle, Value ) |
|
1 |
objectname.AddItemDateTime ( ParentItemHandle, Value, Flag ) |
|
1 |
objectname.AddItemDateTime ( ParentItemHandle, Key, Value ) |
|
1 |
objectname.AddItemDateTime ( ParentItemHandle, Key, Value, Flag ) |
|
1 |
objectname.AddItemDateTime ( ParentItemPath, Value ) |
|
1 |
objectname.AddItemDateTime ( ParentItemPath, Value, Flag ) |
|
1 |
objectname.AddItemDateTime ( ParentItemPath, Key, Value ) |
|
1 |
objectname.AddItemDateTime ( ParentItemPath, Key, Value, Flag ) |
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…
Applicable methods – PB Docs 2021
Applicable methods The following table summarizes the methods that support the different JSON formats. Objects Methods Supported JSON Formats DataWindow ImportRowFromJson, ExportRowAsJson 1. Plain JSON: One-level structure ImportJson, ImportJsonByKey 1. Plain JSON: Two-level structure 2. DataWindow JSON ExportJson 1. Plain JSON: Two-level structure 2. DataWindow JSON JSONPackage LoadString, LoadFile 1. An object which contains a…
AppendParam – PB Docs 2021
AppendParam PowerScript function Description Appends the parameter to the request for Extension Grant only. Applies to TokenRequest object Syntax
|
1 |
objectname.AppendParam ( string param, string value ) |
Argument Description objectname A reference to the TokenRequest object in which you want to append the parameter. param A string specifying the parameter name. value A string specifying the parameter value. Return value Integer. Returns…
ACos – PB Docs 2021
ACos PowerScript function Description Calculates the arccosine of an angle. Syntax
|
1 |
ACos ( n ) |
Argument Description n The ratio of the lengths of two sides of a triangle for which you want a corresponding angle (in radians). The ratio must be a value between -1 and 1. Return value Double. Returns the arccosine of n. Examples This…
AddItemBlob – PB Docs 2021
AddItemBlob PowerScript function Description Adds a child item of JsonStringItem type in the JSON generator object. Applies to JSONGenerator objects Syntax
|
1 |
objectname.AddItemBlob ( ParentItemHandle, Value ) |
|
1 |
objectname.AddItemBlob ( ParentItemHandle, Key, Value ) |
|
1 |
objectname.AddItemBlob ( ParentItemPath, Value ) |
|
1 |
objectname.AddItemBlob ( 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 Tab controls – PB Docs 2021
About Tab controls A Tab control is a container for tab pages that display other controls. One page at a time fills the display area of the Tab control. Each page has a tab like an index card divider. The user can click the tab to switch among the pages: The Tab control allows you…