Grid.ColumnMove  GroupBy

Chapter 3: DataWindow Object Properties

Grid.Lines

Description

The way grid lines display and print in a DataWindow whose presentation style is Grid or Crosstab.

Applies to

DataWindows

Syntax

PocketBuilder dot notation:

dw_control.Object.DataWindow.Grid.Lines

Describe and Modify argument:

"DataWindow.Grid.Lines { = value }"

Parameter

Description

value

An integer specifying whether grid lines are displayed on the screen and printed. Values are:

  • 0 — Yes, grid lines are displayed and printed.

  • 1 — No, grid lines are not displayed and printed.

  • 2 — Grid lines are displayed, but not printed.

  • 3 — Grid lines are printed, but not displayed.

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 or Crosstab).

Examples

Example 1

string setting

setting = dw_1.Object.DataWindow.Grid.Lines

Example 2

dw_1.Object.DataWindow.Grid.Lines = 2

Example 3

setting = dw_1.Describe("DataWindow.Grid.Lines")

Example 4

dw_1.Modify("DataWindow.Grid.Lines=2")





Copyright © 2004. Sybase Inc. All rights reserved. GroupBy

View this book as PDF