Syntax 2: For scatter graphs – PB Docs 2018
Syntax 2: For scatter graphs Description Changes the value of a data point in a series on a graph. You specify the data point by position and provide an x and y value. Applies to Graph controls in windows and user objects. Does not apply to graphs within DataWindow objects (their data comes directly from…
GetName – PB Docs 2018
GetName Description Obtains the name of the current PBDOM_OBJECT. The returned string depends on the type of DOM Object that is contained within a PBDOM_OBJECT. DOM Object Type Return Value PBDOM_DOCTYPE “#document” PBDOM_ELEMENT The local tag name of the element, without any namespace prefixes. For example, if the element is: <abc>Value</abc>, then the string returned…
AddLocalRef – PB Docs 2018
AddLocalRef Description Adds a local reference to the specified PowerBuilder object. Syntax
1 |
AddLocalRef (pbobject obj) |
Argument Description obj A valid PowerBuilder object handle Return value pbclass or null on error. Examples This example defines functions that add and remove local references:
1 2 3 4 5 6 7 8 9 10 |
void MyPBNIClass::reference() { d_session->AddLocalRef(d_pbobject); } void MyPBNIClass::unreference() { if(d_pbobject != NULL) d_session->RemoveLocalRef(d_pbobject); } |
See also PopLocalFrame PushLocalFrame RemoveLocalRef Document get from Powerbuilder help Thank you for watching.
Properties for TableBlob controls in DataWindow objects – PB Docs 2018
Properties for TableBlob controls in DataWindow objects An x in the M (Modify) column means you can change the property. When (exp) is included in the description, you can specify a DataWindow expression as the value for that property. Property for a TableBlob M Description Attributes  A list of the properties of the TableBlob….
Comments – PB Docs 2018
Comments Description You can use comments to document your scripts and prevent statements within a script from executing. There are two methods. Syntax Double-slash method
1 |
Code // Comment |
Slash-and-asterisk method
1 |
/*      Comment       */ |
Usage The following table shows how to use each method. Method Marker Can use to Note Double slash // Designate all text on the line to…
About functions and events – PB Docs 2018
About functions and events Importance of functions and events Much of the power of the PowerScript language resides in the built-in PowerScript functions that you can use in expressions and assignment statements. Types of functions and events PowerBuilder objects have built-in events and functions. You can enhance objects with your own user-defined functions and events,…
Syntax 2: For blobs – PB Docs 2018
Syntax 2: For blobs Description Converts data in a blob to a string value. If the blob’s value is not text data, String attempts to interpret the data as characters. Syntax
1 |
String ( blob {,encoding} ) |
Argument Description blob The blob whose value you want returned as a string. Blob can also be an Any variable containing a blob. encoding …