User Tools

Site Tools


dock_set_dockable_toolbox_window_.htm
Navigation:  Language Reference > 9 -  Window and Report Attributes > Window and Report Attributes >====== DOCK (set dockable toolbox window) ====== Previous pageReturn to chapter overviewNext page

NewC7.jpg

DOCK( positions )

blk2blue.jpg

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

dock_set_dockable_toolbox_window_.htm.txt · Last modified: 2021/04/15 15:57 (external edit)