PosA – PB Docs 2017
PosA DataWindow expression function Description Finds one string within another string. Syntax
|
1 |
PosAÂ ( string1, string2Â {, start } ) |
Argument Description string1 The string in which you want to find string2. string2 The string you want to find in string1. start  (optional) A long indicating the position in bytes where the search will begin in string. The default is 1. Return value…
VTextAlign – PB Docs 2017
VTextAlign property (DataWindow object) Description The way text in a button is vertically aligned. Applies to Button controls Syntax PowerBuilder dot notation:
|
1 |
dw_control.Object.buttonname.VTextAlign |
Describe and Modify argument:
|
1 |
"buttonname.VTextAlign { = 'value ' }" |
Parameter Description buttonname The name of the button for which you want to align text. value An integer indicating how the button text is horizontally aligned. Values…
Mode – PB Docs 2017
Mode DataWindow expression function Description Calculates the mode of the values of the column. The mode is the most frequently occurring value. Syntax
|
1 |
Mode ( column { FOR range { DISTINCT { expres1 {, expres2 {, ... } } } } } ) |
Argument Description column The column for which you want the mode of the data values. Column can be the column name or the column number preceded by a pound sign (#). Column can…
Visible – PB Docs 2017
Visible property (DataWindow object) Description Whether the specified control in the DataWindow is visible. Applies to Button, Column, Computed Field, Graph, GroupBox, Line, OLE, Oval, Picture, Rectangle, Report, RoundRectangle, TableBlob, and Text controls Syntax PowerBuilder dot notation:
|
1 |
dw_control.Object.controlname.Visible |
Describe and Modify argument:
|
1 |
"controlname.Visible { = 'value ' }" |
Parameter Description controlname The name of the control for which you want…
Syntax 4 For the symbol of a data point – PB Docs 2017
Syntax 4Â For the symbol of a data point Description Obtains the symbol of a data point in a graph. Applies to PowerBuilder DataWindow DataWindow control Syntax PowerBuilder
|
1 |
integer dwcontrol.GetDataStyle ( string graphcontrol, integer seriesnumber, integer datapointnumber, REF grSymbolType symbolvariable ) |
Argument Description dwcontrol A reference to the DataWindow control containing the graph. graphcontrol A string whose value is the name of the graph in the DataWindow control….
LineStyle – PB Docs 2017
LineStyle constant (DataWindows) Description Values for the pattern of lines in a graph. Used in Get/SetSeriesStyle and Get/SetDataStyle methods for graph controls in a DataWindow or for PowerBuilder graph controls. Values PowerBuilder enumerated value Numeric value Meaning Continuous! 0 The line style is a solid line Dash! 1 The line style is —- DashDot! 2 The line…
Spacing – PB Docs 2017
Spacing property (DataWindow object) Description The gap between categories in a graph. Applies to Graph controls Syntax PowerBuilder dot notation:
|
1 |
dw_control.Object.graphname.Spacing |
Describe and Modify argument:
|
1 |
"graphname.Spacing { = 'integer ' }" |
Parameter Description graphname The name of the graph control in the DataWindow for which you want to get or set the spacing. integer (exp) An integer specifying the gap…
X1, X2 – PB Docs 2017
X1, X2 Description The distance of each end of the specified line from the left edge of the line’s band. Applies to Line controls Syntax PowerBuilder dot notation:
|
1 2 |
   dw_control.Object.controlname.X1    dw_control.Object.controlname.X2 |
Describe and Modify argument:
|
1 2 |
   "controlname.X1 { = ' value ' }"    "controlname.X2 { = ' value ' }" |
Parameter Description controlname The name of the line for which you want to get or set one of the x coordinates….
Invert – PB Docs 2017
Invert property (DataWindow object) Description The way the colors in a Picture control are displayed, either inverted or normal. Applies to Picture controls Syntax PowerBuilder dot notation:
|
1 |
dw_control.Object.bitmapname.Invert |
Describe and Modify argument:
|
1 |
"bitmapname.Invert { = ' number ' }" |
Parameter Description bitmapname The name of the Picture control in the DataWindow for which you want to invert the colors. number (exp)…
Now – PB Docs 2017
Now DataWindow expression function Description Obtains the current time based on the system time of the client machine. Syntax
|
1 |
Now ( ) |
Return value Time. Returns the current time based on the system time of the client machine. Usage Use Now to compare a time to the system time or to display the system time on the screen….