Properties, methods, and events are attributes of a component.
To set object properties
- On your form, click once on the object to select it.
- In the Object Inspector, click the Properties tab.
- Select the property that you want to change and either enter a value in the text box, select a value from the drop-down list, or click the ellipsis (...) next to the text box to use the associated property editor, depending on which update technique is available for the property.
To set an event handler
- On your form, click once on the object to select it.
- On the Object Inspector, click the Events tab.
- If an event handler already exists, select it from the drop-down box. Otherwise, double-click the event to switch to Code view.
- Type the code you want to execute when the event occurs.