Grid.ColumnMove – PB Docs 126
Grid.ColumnMove DataWindow object property Description Whether the user can rearrange columns by dragging. Controls DataWindows Syntax PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.DataWindow.Grid.ColumnMove |
Describe and Modify argument:
1 |
"DataWindow.Grid.ColumnMove { = <span>value</span> } " |
Parameter Description value Whether the user can rearrange columns. Values are: Yes – The user can drag columns. No – The user cannot drag columns. Usage In the painter Select…
Border – PB Docs 126
Border DataWindow object property Description The type of border for the control. Controls Column, Computed Field, Graph, GroupBox, OLE, Picture, Report, TableBlob, and Text controls Syntax PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Border |
Describe and Modify argument:
1 |
"<span>controlname</span>.Border { = ' <span>value </span>' }" |
DataWindowSyntaxFromSql:
1 |
Column ( ... Border =<span> value ... </span>) |
1 |
Text ( ... Border = <span>value ... </span>) |
Parameter Description controlname The name of the control whose border you want to get or set. When generating…
Height.AutoSize – PB Docs 126
Height.AutoSize DataWindow object property Description Whether the control’s width should be held constant and its height adjusted so that all the data is visible. This property is for use with read-only controls and printed reports. It should not be used with data entry fields or controls. Controls Column, Computed Field, Report, and Text controls Syntax…
Initial – PB Docs 126
Initial DataWindow object property Description The initial value of the column in a newly inserted row. Controls Column controls Syntax PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>columnname</span>.Initial |
Describe and Modify argument:
1 |
"<span>columnname</span>.Initial { = '<span> initialvalue</span> ' }" |
Parameter Description columnname A string containing the name of the column for which you want to get or set the initial property. initialvalue A string containing…
HorizontalScrollPosition – PB Docs 126
HorizontalScrollPosition DataWindow object property Description The position of the scroll box in the horizontal scroll bar. Use HorizontalScrollMaximum with HorizontalScrollPosition to synchronize horizontal scrolling in multiple DataWindow objects. Controls DataWindows Syntax PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.DataWindow.HorizontalScrollPosition |
Describe and Modify argument:
1 |
"DataWindow.HorizontalScrollPosition { = <span>scrollvalue</span> }" |
Parameter Description scrollvalue An integer specifying the position of the scroll box in the horizontal…
Multiline – PB Docs 126
Multiline DataWindow object property Description (RichText presentation style) Whether the column or computed field can contain multiple lines. Multiline is effective only when Width.Autosize is set to No. Controls Column and Computed Field controls in the RichText presentation style Syntax PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Multiline |
Describe and Modify argument:
1 |
"<span>controlname</span>.Multiline { = '<span> value </span>' }" |
Parameter Description controlname The name of…
Arguments – PB Docs 126
Arguments DataWindow object property Description The retrieval arguments required by the data source. You specify retrieval arguments in the DataWindow’s SELECT statement and you provide values for the retrieval arguments when you call the Retrieve method. Controls Database table for the DataWindow object Not settable in PowerScript. Used in DataWindow syntax. Syntax
1 |
Table(Arguments = ( (<span>name1</span>, <span>type</span>), (<span>name2</span>, <span>type</span>) ... ) ... ) |
Parameter Description…
Properties for Column controls in DataWindow objects – PB Docs 126
Properties for Column controls in DataWindow objects An x in the M (Modify) column means you can change the property. An x in the S column means you can use the property with the SyntaxFromSQL method. When (exp) is included in the description, you can specify a DataWindow expression as the value for that property….
The Export Template view for XHTML – PB Docs 126
The Export Template view for XHTML Each DataWindow object that you create has a default XHTML export template associated with it. You can see the default template in the DataWindow painter’s Export Template view for XHTML. Displaying the XHTML export template The Export Template view for XHTML coexists with the Export Template view for XML,…
Providing Help buttons – PB Docs 126
Providing Help buttons A DataWindow object has properties related to online Help. By initializing the DataWindow.Help.File property to the name of a Help file, you can display Help command buttons on dialog boxes that display for a DataWindow during execution. For complete information on the Help-related DataWindow object properties, see the DataWindow Reference. Document get…