SeriesCount – PB Docs 125
SeriesCount PowerScript function Description Counts the number of series in a graph. Controls Graph controls in windows and user objects, and graphs in DataWindow controls Syntax
|
1 |
<span>controlname</span>.<span>SeriesCount</span> ( { <span>graphcontrol</span> } ) |
Argument Description controlname The name of the graph for which you want the number of series, or the name of the DataWindow control containing the graph graphcontrol (DataWindow…
Syntax 1 For OLETxnObject objects – PB Docs 125
Syntax 1 For OLETxnObject objects Description Declares that the current transaction should be rolled back. Controls OLETxnObject objects Syntax
|
1 |
<span>oletxnobject</span>.<span>SetAbort</span> ( <span> </span>) |
Argument Description oletxnobject The name of the OLETxnObject variable that is connected to the COM object Return Values Integer. Returns 1 if it succeeds and -1 if an error occurs. Usage Call the SetAbort function from…
Syntax 2 For TransactionServer objects – PB Docs 125
Syntax 2 For TransactionServer objects Description Declares that the transaction in which a component is participating should be committed and the component instance should be deactivated. Controls TransactionServer objects Syntax
|
1 |
<span>transactionserver</span>.<span>SetComplete</span> ( <span> </span>) |
Argument Description transactionserver Reference to the TransactionServer service instance Return Values Integer. Returns 1 if it succeeds and -1 if an error occurs. Usage The…
SeriesName – PB Docs 125
SeriesName PowerScript function Description Obtains the series name associated with the specified series number. Controls Graph controls in windows and user objects, and graphs in DataWindow controls Syntax
|
1 |
<span>controlname</span>.<span>SeriesName</span> ( { <span>graphcontrol</span>, } <span>seriesnumber</span> ) |
Argument Description controlname The name of the graph in which you want the name of a series, or the name of the DataWindow containing the graph…
Functions – PB Docs 125
Functions All built-in PowerScript functions return a value. You can use the return value or ignore it. User-defined functions and external functions might or might not return a value. To use a return value, assign it to a variable of the appropriate datatype or call the function wherever you can use a value of that…
SelectedText – PB Docs 125
SelectedText PowerScript function Description Obtains the selected text in an editable control. Controls DataWindow, EditMask, InkEdit, MultiLineEdit, SingleLineEdit, RichTextEdit, DropDownListBox, and DropDownPictureListBox controls Syntax
|
1 |
<span>editname</span>.<span>SelectedText</span> ( ) |
Argument Description editname The name of the DataWindow, EditMask, MultiLineEdit, SingleLineEdit, RichTextEdit, DropDownListBox, or DropDownPictureListBox control from which you want the selected text. For a DropDownListBox or DropDownPictureListBox, the AllowEdit…
SelectedStart – PB Docs 125
SelectedStart PowerScript function Description Reports the position of the first selected character in an editable control. Controls DataWindow, EditMask, MultiLineEdit, SingleLineEdit, RichTextEdit, DropDownListBox, and DropDownPictureListBox controls Syntax
|
1 |
<span>editname</span>.<span>SelectedStart</span> ( ) |
Argument Description editname The name of the DataWindow, EditMask, MultiLineEdit, SingleLineEdit, RichTextEdit, DropDownListBox, or DropDownPictureListBox control in which you want to determine the starting position of selected…
SelectedLength – PB Docs 125
SelectedLength PowerScript function Description Determines the total number of characters in the selected text in an editable control, including spaces and line endings. Controls DataWindow, EditMask, InkEdit, MultiLineEdit, SingleLineEdit, RichTextEdit, DropDownListBox, and DropDownPictureListBox controls Syntax
|
1 |
<span>editname</span>.<span>SelectedLength</span> ( ) |
Argument Description editname The name of the DataWindow, EditMask, MultiLineEdit, SingleLineEdit, RichTextEdit, DropDownListBox, or DropDownPictureListBox control in which you…
SetNull – PB Docs 125
SetNull PowerScript function Description Sets a variable to null. The variable can be any datatype except for a structure or autoinstantiated object. Syntax
|
1 |
<span>SetNull</span> ( <span>anyvariable</span> ) |
Argument Description anyvariable The variable you want to set to null Return Values Integer. Returns 1 if it succeeds and -1 if an error occurs. If any argument’s value is null,…
SetSeriesLabelling – PB Docs 125
SetSeriesLabelling PowerScript function Description Set the series label for a DirectX 3D graph. Controls Graph controls in windows and user objects, and graphs in DataWindow controls Syntax
|
1 |
<span>controlname</span>.<span></span><span>SetSeriesLabelling</span> ({<span>graphcontrol</span>, } <span>series</span>, <span>value</span> ) |
Argument Description controlname The name of the graph in which you want to set data, or the name of the DataWindow control containing the graph. graphcontrol (DataWindow…