Type

Description

The type of the control (for Describe) or the type of presentation style (for SyntaxFromSql).

Syntax

PowerBuilder dot notation:

dw_control.Object.controlname.Type

Describe argument:

"controlname.Type"

Parameter

Description

controlname

The name of the control for which you want the type. Valid values are:

  • datawindow

  • bitmap (for Picture)

  • button

  • column

  • compute (for Computed Field)

  • graph

  • groupbox

  • line

  • ole

  • ellipse (for Oval)

  • rectangle

  • report

  • roundrectangle

  • tableblob

  • text

SyntaxFromSql:

Style ( Type = value )

Parameter

Description

value

A keyword specifying the presentation style for the DataWindow object. Keywords are:

  • (Default) Tabular

  • Grid

  • Form (for the Freeform style)

  • Crosstab

  • Graph

  • Group

  • Label

  • Nested

  • Ole

  • RichText

Examples

Example 1

string setting

setting = dw1.Object.emp_name.Type

setting = dw1.Describe("emp_name.Type")

Example 2

SQLCA.SyntaxFromSQL(sqlstring, &

'Style(... Type=grid ...)', errstring)