NotificationProvider Xojo Plugin |

# DesktopControl.Close Method

Closes a control.

Close()

#### Parameters

#### Remarks

Closing a control permanently removes the control from memory, making it impossible to access. You can close both non-indexed controls and indexed controls. When you close an indexed control, the indexes for the remaining controls will shift downward so that the indexes start with zero and are consecutive.

This function is part of Xojo base class.