DOCK (set dockable toolbox window)

Top  Previous  Next

 

DOCK( positions )

DOCK

Specifies a dockable TOOLBOX.

Positions

A bitmap specifying the edges available for docking.

The DOCK attribute (PROP:DOCK) specifies a non-MDI WINDOW with the TOOLBOX attribute which may be docked to an edge of the application frame. The following EQUATEs for standard positions values are contained in EQUATES.CLW:

DOCK:Left    EQUATE(1)

DOCK:Top     EQUATE(2)

DOCK:Right   EQUATE(4)

DOCK:Bottom  EQUATE(8)

DOCK:Float   EQUATE(16)

DOCK:All     EQUATE(31)

Example:

Win1 WINDOW('Tools'),TOOLBOX,DOCK(DOCK:Left+DOCK:Right)  !Dockable left and right only

     BUTTON('Date'),USE(?Button1)

     BUTTON('Time'),USE(?Button2)

    END

See Also:

DOCKED

TOOLBOX