String_To_Object – PB Docs 126
String_To_Object PowerScript function Description Gets an object reference based on a passed string. This function is used by PowerBuilder clients connecting to EAServer. Controls JaguarORB objects Syntax
|
1 |
<span>jaguarorb</span>.<span>String_To_Object</span> ( <span>objstring , </span><span>object</span>) |
Argument Description jaguarorb An instance of JaguarORB. objstring A string that represents a CORBA object. The string representation of a CORBA object is an Interoperable Object Reference…
SharedObjectGet – PB Docs 126
SharedObjectGet PowerScript function Description Gets a reference to a shared object instance. Syntax
|
1 |
<span>SharedObjectGet</span> ( <span>instancename </span>, <span>objectinstance</span> ) |
Argument Description instancename The name of a shared object instance to which you want to obtain references. The name you specify must match the name given to the object instance when it was first registered with the SharedObjectRegister function. objectinstance An…
CHOOSE CASE – PB Docs 126
CHOOSE CASE Description A control structure that directs program execution based on the value of a test expression (usually a variable). Syntax
|
1 |
CHOOSE CASE <span>testexpression</span><br>CASE <span>expressionlist</span><span><br> statementblock<br></span>{ CASE <span>expressionlist</span><span><br> statementblock <br></span>. . .<br>CASE <span>expressionlist</span> <br> <span>statementblock</span> } <br>CASE ELSE<br> <span>statementblock</span> } <br>END CHOOSE |
Parameter Description testexpression The expression on which you want to base the execution of the script expressionlist One of the following expressions: A single value A list of values separated by commas…
Unsupported Events for Controls in Windows Forms – PB Docs 126
Unsupported Events for Controls in Windows Forms If your application uses unsupported events for Windows Forms targets, you must rework the application before you deploy it. This table is an alphabetical listing of unsupported events, and indicates the controls on which they are not supported: Unsupported events for Windows Forms deployment Event Controls DoubleClicked DatePicker,…
StepIt – PB Docs 126
StepIt PowerScript function Description Increments the current position in a progress bar control by the value specified in the SetStep property of the control. Controls Progress bar controls Syntax
|
1 |
<span>control</span>.<span>StepIt</span> ( ) |
Argument Description control The name of the progress bar Return Values Integer. Returns 1 if it succeeds and -1 if there is an error. Usage…
TabPostEvent – PB Docs 126
TabPostEvent PowerScript function Description Posts the specified event for each tab page in a Tab control, adding them to the end of the event queues for the tab page user objects. Controls Tab controls Syntax
|
1 |
<span>tabcontrolname</span>.<span>TabPostEvent</span> ( <span>event</span> {, <span>word</span>, <span>long</span> } ) |
Argument Description tabcontrolname The name of the Tab control for which you want to post events for its tab…
Synchronize – PB Docs 126
Synchronize PowerScript function Starts synchronization between a remote and consolidated database. The syntax you use depends on whether you include command line parameters with the dbmlsync synchronization call. To start synchronization Use Without including command line parameters Syntax 1 With command line parameters that you include in the synchroniztion call Syntax 2 Document get from…
Set Publishing Properties – PB Docs 126
Set Publishing Properties If you did not create a .NET Windows Forms project when creating an application that you want to publish with intelligent update capabilities, you can use a wizard or icon on the Project page of the New dialog box to create the project. On the Project page of the New dialog box,…
Properties for a .NET Windows Forms Project – PB Docs 126
Properties for a .NET Windows Forms Project After you click Finish in the wizard, PowerBuilder creates a .NET Windows Forms project in the target library that you selected and opens the project in the Project painter. The painter shows all the values you entered in the wizard and allows you to modify them. It also…
Syntax 2 For blobs – PB Docs 126
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 |
<span>String</span> ( <span>blob</span> {,<span>encoding</span>} ) |
Argument Description blob The blob whose value you want returned as a string. Blob can also be an Any variable containing a blob. encoding…