drawGrip

Type: Integer

Availability: Read or write at any time

The drawGrip property of the JadeDockBase class indicates whether a grip bar is drawn in the border area of the control. This bar is intended as a place on the control in which the user can click the mouse for dragging purposes.

The drawGrip property settings are listed in the following table.

JadeDockBase Class Constant Integer Value Description
DrawGripBar_Double 2 A double grip bar is drawn
DrawGripBar_None 0 No grip is drawn
DrawGripBar_Single 1 A single grip bar is drawn

The grip bar adds additional spacing within the border area of the control, and it is centered in the area defined by the size of the grip bar and the extra border space defined by the borderWidthLeft or borderHeightTop property, depending on how the control is aligned.

If the control is aligned left or right, the grip bar is drawn at the top of the control. If the control has no alignment but its parent is aligned left or right, the grip bar is also drawn at the top of the control. If neither of these is the case, the grip bar is drawn at the left of the control.

No border area (including the grip bar) is drawn for the control when it is the child of a floating form.

The default value for the JadeDockBar control is DrawGripBar_Double (2) and the default value for the JadeDockContainer control is DrawGripBar_None (0).