RAD Studio (Common)
ContentsIndex
PreviousUpNext
Setting Properties and Events

Properties, methods, and events are attributes of a component.

To set object properties

  1. On your form, click once on the object to select it.
  2. In the Object Inspector, click the Properties tab.
  3. 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

  1. On your form, click once on the object to select it.
  2. On the Object Inspector, click the Events tab.
  3. If an event handler already exists, select it from the drop-down box. Otherwise, double-click the event to switch to Code view.
  4. Type the code you want to execute when the event occurs.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!