docked_set_dockable_toolbox_window_docked_at_open_.htm
Navigation: Language Reference > 9 - Window and Report Attributes > Window and Report Attributes >====== DOCKED (set dockable toolbox window docked at open) ====== | |
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:
docked_set_dockable_toolbox_window_docked_at_open_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1