DOCKED (set dockable toolbox window docked at open)

Top  Previous  Next

 

DOCKED( position )

DOCKED

Specifies a dockable TOOLBOX docked at open.

position

A bitmap specifying the edge to which it is docked.

The DOCKED attribute (PROP:DOCKED) specifies a non-MDI WINDOW with the DOCK attribute is docked when the window is opened. The following EQUATEs for standard position 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:All),DOCKED(DOCK:Top)  !Dockable anywhere

     BUTTON('Date'),USE(?Button1)                            !Docked at top on open

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

    END

See Also:

DOCK

TOOLBOX