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…
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,…
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…
StartServerDDE – PB Docs 126
StartServerDDE PowerScript function Description Establishes your application as a DDE server. You specify the DDE name, topic, and items that you support. Syntax
1 |
<span>StartServerDDE</span> ( { <span>windowname</span>, } <span>applname</span>, <span>topic</span> {, <span>item</span> } ) |
Argument Description windowname (optional) The name of the server window. The default is the current window. applname The DDE name for your application. topic A string whose value is the basic…
Incremental Build Processing – PB Docs 126
Incremental Build Processing When you save recently edited code, the PowerBuilder IDE invokes the PowerScript compiler to get information for updating the System Tree and the property sheet. There are basically three kinds of changes that the compiler handles: Implementation changes, such as modifications to a function body or to the properties of a class….
Tan – PB Docs 126
Tan PowerScript function Description Calculates the tangent of an angle. Syntax
1 |
<span>Tan</span> ( <span>n</span> ) |
Argument Description n The angle (in radians) for which you want the tangent Return Values Double. Returns the tangent of n. An execution error occurs if n is not valid. If n is null, Tan returns null. Examples Both these statements return 0:…