Table of Contents

TAdvCustomFormDesigner.DrawGrab Method

Draws a grab handle.

Remarks

DrawGrab method is called by the designer to draw the grab handles around the current selection. You can override this method to perform your own custom drawing of the grab handles.

Syntax

Unit: FormDesigner

procedure TAdvCustomFormDesigner.DrawGrab(Canvas: TCanvas; R: TRect; GrabType: TGrabType); virtual;

Parameters

<-> Parameter Type Description
Canvas TCanvas The canvas where the grab handles show be drawn.
R TRect The rect position/size of the grab handles.
GrabType TGrabType The current type/state of the grab handle.

See also