The lines of a combo box are not treated as individual controls; they are part of a single combo box that functions as a control. This table lists the values for each combo box.
The ComboBox table has the following columns.
Column | Type | Key | Nullable |
---|---|---|---|
Property | Identifier | Y | N |
Order | Integer | Y | N |
Value | Formatted | N | N |
Text | Text | N | Y |
Columns
- Property
A named property to be tied to this item. All the items tied to the same property become part of the same combo box.
- Order
A positive integer used to determine the ordering of the items that appear in a single combo box list. The integers do not have to be consecutive. If a combo box is defined as ordered, then all the items should have an Order value. If the combo box is defined as unordered, then this column is ignored.
Positive numbers only.
- Value
The value string associated with this item. Selecting this line of the combo box sets the associated property (specified in Property) to this value.
- Text
The visible, localizable text to be assigned to the item. If this entry or the entire column is missing, then the text defaults to the entry in Value.
Remarks
The contents of the Value and Text fields are formatted by the MsiFormatRecord function when the control is created, therefore they can contain any expression that the MsiFormatRecord function can interpret. The formatting occurs only when the control is created and it is not updated if a property involved in the expression is modified during the life of the control.
Validation
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.