SetSeriesTransparency – PB Docs 125
SetSeriesTransparency PowerScript function Description Sets the tranparency percentage of a series in a DirectX 3D graph (those with 3D rendering). Controls Graph controls in windows and user objects, and graphs in DataWindow controls Syntax
|
1 |
<span>controlname</span>.<span>SetSeriesTransparency</span> ( { <span>graphcontrol</span>, } <span>series</span>, <span><br>transparency</span> ) |
Argument Description controlname The name of the graph in which you want to set a series transparency value, or the…
SyntaxFromSQL – PB Docs 125
SyntaxFromSQL PowerScript function Description Generates DataWindow source code based on a SQL SELECT statement. Controls Transaction objects Syntax
|
1 |
<span>transaction</span><span>.SyntaxFromSQL</span> ( <span>sqlselect</span>, <span>presentation</span>, <span>err</span> ) |
Argument Description transaction The name of a connected transaction object. sqlselect A string whose value is a valid SQL SELECT statement. presentation A string whose value is the default presentation style you want for the DataWindow….
Sign – PB Docs 125
Sign PowerScript function Description Reports whether a number is negative, zero, or positive. Syntax
|
1 |
<span>Sign</span> ( <span>n</span> ) |
Argument Description n The number for which you want to find out the sign Return Values Integer. Returns a number (-1, 0, or 1) indicating the sign of n. If n is null, Sign returns null. Examples This statement returns…
Syntax 1 For docked toolbars – PB Docs 125
Syntax 1 For docked toolbars Description Sets the position of a docked toolbar. Controls MDI frame and sheet windows Syntax
|
1 |
<span>window</span>.<span>SetToolbarPos</span> ( <span>toolbarindex</span>, <span>dockrow</span>, <span>offset</span>, <span>insert</span> ) |
Argument Description window The MDI frame or sheet to which the toolbar belongs. toolbarindex An integer whose value is the index of the toolbar whose settings you want to change. dockrow An integer whose value…
Sin – PB Docs 125
Sin PowerScript function Description Calculates the sine of an angle. Syntax
|
1 |
<span>Sin</span> ( <span>n</span> ) |
Argument Description n The angle (in radians) for which you want the sine Return Values Double. Returns the sine of n. If n is null, Sin returns null. Examples This statement returns .8414709848078965:
|
1 |
<span>Sin</span>(1) |
This statement returns 0:
|
1 |
<span>Sin</span>(0) |
This statement returns 0:…
Sqrt – PB Docs 125
Sqrt PowerScript function Description Calculates the square root of a number. Syntax
|
1 |
<span>Sqrt</span> ( <span>n</span> ) |
Argument Description n The number for which you want the square root Return Values Double. Returns the square root of n. If n is null, Sqrt returns null. Usage Sqrt(n) is the same as n^.5. Taking the square root of a negative…
Today – PB Docs 125
Today PowerScript function Description Obtains the system date and, in some cases, the system time. Syntax
|
1 |
<span>Today</span> ( ) |
Return Values Date. Returns the current system date. Usage Although the datatype of the Today function is date, it can also return the current time. This occurs when Today is used as an argument for another function and…
Show – PB Docs 125
Show PowerScript function Description Makes an object or control visible, if it is hidden. If the object is already visible, Show brings it to the top. Controls Any object Syntax
|
1 |
<span>objectname</span>.<span>Show</span> ( ) |
Argument Description objectname The name of the object or control you want to make visible (show) Return Values Integer. Returns 1 if it succeeds…
Space – PB Docs 125
Space PowerScript function Description Builds a string of the specified length whose value consists of spaces. Syntax
|
1 |
<span>Space</span> ( <span>n</span> ) |
Argument Description n A long whose value is the length of the string to be filled with spaces. The maximum value is 2,147,483,647. Return Values String. Returns a string filled with n spaces if it succeeds and…
Tan – PB Docs 125
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:…