Combo/Drop-Down Box

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 property on the PPGItem object: | Common to many Controls:
• siUILabel • siUIItems • siUIType • siUIWidthPercentage • siUILabelPercentage • siUILabelMinPixels | • siUINoLabel • siUIValueOnly • siUIContinue • siUICX • siUICY

Autodesk Softimage v7.5