# ShowGrabHandles
{: .no_toc }

Returns whether the container would like the control to draw selection grab handles, as a **Boolean**. Read-only.

Syntax: *object*.**ShowGrabHandles**

*object*
: *required* An object expression that evaluates to an **AmbientProperties** object.

Grab handles are the small squares drawn on the corners and edges of a selected control on a designer surface. A simple control can leave the grab handles to the host and ignore this property; a control that paints its own selection feedback (for example, because it occupies its full client area) should draw them when **ShowGrabHandles** is **True**. The property is generally only meaningful while [**UserMode**](/tB/Packages/VBRUN/AmbientProperties/UserMode.md) is **False**.

### Example

This example responds to a **ShowGrabHandles** change and repaints the control to show or hide the handles.

```tb check_build
Private Sub UserControl_AmbientChanged(PropertyName As String)
    Select Case PropertyName
        Case "ShowGrabHandles"
            UserControl.Refresh    ' repaint to show or hide selection grab handles
    End Select
End Sub
```

### See Also

- [ShowHatching](/tB/Packages/VBRUN/AmbientProperties/ShowHatching.md) property
- [UserMode](/tB/Packages/VBRUN/AmbientProperties/UserMode.md) property
- [DisplayAsDefault](/tB/Packages/VBRUN/AmbientProperties/DisplayAsDefault.md) property
