Setting Component Properties

From Appmethod Topics
Jump to: navigation, search

You can set component properties at design time or at run time:

  • To set published properties at design time, you can use the Object Inspector and, in some cases, special property editors.
  • To set properties at run time, assign their values in your application source code, as shown in these hypothetical examples:

Object Pascal:

 TMyObject.SomeProperty := True;

C++:

 TMyObject->SomeProperty = True;

For information about the properties of each component, see the API documentation in the online Help.