Line Elements

The following lists the mandatory properties for line elements. The x1, y1, x2, and y2 properties define the location of the starting and ending points of the line:

Line control-idx1 y1 x2 y2

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

Clientedge

Disabled

Font

Foregroundcolor

Group

Invisible

Linestyle

Linewidth

Longcue

Name

Raisededge

Shortcue

Example

The following example contains a window with two line elements; the first contains only the mandatory definitions, while the second contains optional settings.

Version "3.0"
Window 1 "Control Window" 0 0 200 100
Begin
Line 1 10 10 50 25
Line 2 50 10 50 25 Begin
Name "Line2"
Linewidth 2
Linestyle 2
Foregroundcolor Color_red
End
End