The unit of measure used to specify measurements in the DataWindow object. You set this in the DataWindow Style dialog box when you define the DataWindow object.
DataWindows
PowerBuilder dot notation:
dw_control.Object.DataWindow.Units
Describe argument:
"DataWindow.Units"
SyntaxFromSql:
DataWindow ( Units = value )
Parameter |
Description |
---|---|
value |
The type of units for measurements in the DataWindow. Values are:
|
PowerBuilder units and display pixels are adjusted for printing.
Select the DataWindow by deselecting all controls; then set the value in the Properties view, General tab, Units option.
string setting
setting = dw1.Object.DataWindow.Units
setting = dw1.Describe("DataWindow.Units")