
Combo boxes display a read-only drop-down box that presents several items or values along with an optional animation divot and an optional label. They are associated to an underlying parameter of any numeric type.
You create them using the the PPGLayout.AddEnumControl method (siControlCombo is the default):
// 1D array of label,value pairs
var aListItems = new Array(
"carp", 0,
"goldfish", 1,
"piranha", 2,
"trout", 3
);
oLayout.AddEnumControl( "Choice", aListItems );
![]()
|
You can also use the PPGLayout.AddItem method with the siControlCombo control type enum, but the PPGLayout.AddEnumControl method is a little more convenient. |
The following item attributes are available:
|
Available on all Controls also as a |
Common to many Controls: |
|
• siUIType |
• siUICX • siUICY |
Autodesk Softimage v7.5