Grid.Lines
property (DataWindow object)
Description
The way grid lines display and print in a DataWindow whose
presentation style is Grid, Crosstab, or TreeView.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Grid.Lines |
Describe and Modify argument:
|
1 |
"DataWindow.Grid.Lines { = value }" |
|
Parameter |
Description |
|---|---|
|
value |
An integer specifying whether grid lines are Values 0 — Yes, grid lines are displayed and 1 — No, grid lines are not displayed and 2 — Grid lines are displayed, but not 3 — Grid lines are printed, but not |
Usage
In the painter
Select the DataWindow object by deselecting all controls; then set
the value in the Properties view, General tab, Grid group, Display
option (available when the presentation style is Grid, Crosstab, or
TreeView with the Grid Style option selected).
Examples
|
1 2 3 4 5 |
string setting setting = dw1.Object.DataWindow.Grid.Lines dw1.Object.DataWindow.Grid.Lines = 2 setting = dw1.Describe("DataWindow.Grid.Lines") dw1.Modify("DataWindow.Grid.Lines=2") |