Button Properties
The properties defined in the Button class are summarized in the following table.
Property | Description |
---|---|
autoSize | Specifies whether a control is automatically resized to fit its contents |
buttonPicture | Contains predefined bitmaps to be placed on a button control |
cancel | Marks the button as the Cancel button |
caption | Contains an access key to assign to a control |
default | Marks the button as the default button |
picture | Contains a graphic to be displayed in a control |
pictureDisabled | Contains the picture displayed when the picture box is disabled |
pictureDown | Contains the picture displayed when the button is down |
style | Contains the style of push button |
value | Specifies whether the state of the button is up (false) or down (true) |
webFileName | Contains the name of the image displayed on a button on a Web page |
For details, see "Window, Form, and Control Properties", later in this document.