Click or drag to resize

ToolBar.EnableDrag Method (Typed)

X#
Allow the user to move the toolbar around with the mouse.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD EnableDrag(
	lEnable
) AS USUAL CLIPPER
Request Example View Source

Parameters

lEnable (Optional)
Type: Usual
The logical value indicating whether dragging is allowed. TRUE is the default if omitted or if the method is not called.

Return Value

Type: Usual
Remarks
When dragged to an edge, the toolbar snaps onto the edge; if left in the central area of the window, the toolbar floats and is resizable. The EnableDrag() method can only be used before the toolbar is assigned to a window.
See Also