Configure a list box
Configure a list box to get data from a project node or a database.
- InProject view, inUI, right-click a container and then select .
- InProperties, create a dynamic link between theModelproperty and a node.Selected nodeCombo boxDatabase objectValues contained in database tables.Project nodeValues of attributes or properties of all direct child nodes.For more information about dynamic links, see Create dynamic links.
- (optional) Specify the kind of items to display in the object by settingItemKind.TIP:TheItemKindproperty is automatically set with the object or variable type recognized among the child nodes.For example, if the model is based on a folder node that contains several instances of aMotorobject type,ItemKindis automatically set with the reference to theMotortype. In this case, the values that display are the attributes or properties of different instances (Motor1,Motor2,Motor3, and so on).
- (optional) InEvents, associateSelection changedwith theRefreshmethod.The items contained in the object refresh each time you interact with it.
- (optional) Sort items by settingSort orderandOrder byvalues.
list box
Provide Feedback