on a form is enabled.
Setting
The CloseButton property uses the following settings.
| Setting | Description | Visual Basic |
| Yes | (Default) The Close button is enabled. | True (–1) |
| No | The Close button is disabled and the Close command isn't available on the Control menu. | False (0) |