Visual Basic Reference

ShowGrabHandles Property

See Also    Example    Applies To

Returns a boolean value stating whether the control should show grab handles.

Syntax

object**.ShowGrabHandles**

The ShowGrabHandles property syntax has this part:

Part Description
object An object expression that evaluates to an object in the Applies To list.

Settings

The possible boolean return values from the ShowGrabHandles property are:

Setting Description
True The control should show grab handles, if needed. If the container does not implement this ambient property, this will be the default value.
False The control should not show grab handles.

Remarks

The default behavior for a control is to automatically show grab handles when the control is in a container that is in design mode (the controls run mode.) However, many containers do not want the control to show grab handles, preferring to handle the indication of control sizing in another way. The ShowGrabHandles property is how the container notifies the control of who is to display the sizing indications.

Note   All known containers prefer to handle the indication of control sizing themselves, and therefore set the ShowGrabHandles property to False. It is probably not necessary to actually handle the case when ShowGrabHandles is True.