ShadeColor  SizeToDisplay

Chapter 3: DataWindow Object Properties

ShowDefinition

Description

Whether the DataWindow definition will display. The DataWindow will display the column names instead of data.

Applies to

DataWindows

Syntax

PocketBuilder dot notation:

dw_control.Object.DataWindow.ShowDefinition

Describe and Modify argument:

"DataWindow.ShowDefinition { = ' value ' }"

Parameter

Description

value

(exp) Whether the column names will display. Values are:

  • Yes — Display the column names.

  • No — Do not display the data, if any.

Value can be a quoted DataWindow expression.

Examples

Example 1

string setting

setting = dw_1.Object.DataWindow.ShowDefinition

Example 2

dw_1.Object.DataWindow.ShowDefinition = "Yes"

Example 3

setting = dw_1.Describe("DataWindow.ShowDefinition")

Example 4

dw_1.Modify("DataWindow.ShowDefinition=Yes")





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

View this book as PDF