Editing Part Properties

The property sheet for a part provides a way to display and set initial attribute values for the part.

If a Boolean value does not behave the way you expect, its property value may be set to default (rather than true or false). This means that the part inherits its value from the parent window.

For properties in numeric entry fields, the Composition Editor reflects only those values entered in decimal notation. You can enter numbers with bases other than 10 by using the number sign (#, as in #0xBF), but the expression is not evaluated until compile time.

The Composition Editor does not evaluate properties that you enter as string expressions (text strings preceded by a number sign). User interface controls where size is determined by the length of the property value, are not displayed in the Composition Editor as they appear in the compiled application. An example would be the size of a push button that is determined by the length of its text string. However, the Composition Editor passes the expression correctly into the generated code so it compiles successfully. For example, suppose you enter #pbText as the value of a text attribute of an IPushButton* part. Because #pbText is not a literal value, the length of the text string is unknown and the push button appears small in the Composition Editor. If you have defined the value of #pbText elsewhere, the push button appears with the correct size and text string in the compiled application.

For help with filling out the property sheet for a part, open the help for that part.


Related concepts
Property Sheets

Related procedures
Opening the Property Sheet for a Part
Using Code Strings in Part Properties
Applying Changes to Properties