Tree Controls


In BBj 4.0 and higher, the following lists the mandatory properties for tree controls:

Tree control-id, x, y, width, height

Property

Description

tree

Identifies the control as a tree control.

control-id

Control ID number. It must be an integer between 1 and 32767 and be unique within a given top-level window.

x

Horizontal position of the upper-left corner of the control in current units.

y

Vertical position of the upper-left corner of the control in current units.

width

Width of the control in current units.

height

Height of the control in current units.

The Resource Properties Index identifies and describes the optional properties for this control.

Backgroundcolor

Clientedge

Disabled

Font

Foregroundcolor

Invisible

Longcue

Name

Opaque

Popupmenuid

Raisededge

Shortcue