Rollout User-Interface Controls

There are 16 types of user-interface control items that you can choose from to construct your rollout. They all share the same overall syntax:

<item_type> <name> [ <label_string> ] [ <parameters> ]

The item types correspond to the types of user-interface control items you see in typical 3ds max rollouts. The types of user-interface control items are described in Rollout User-Interface Control Types.

The <name> is used to name an automatically constructed rollout local variable that will hold the value representing the control item, and is used to associate event handler functions with the control item. The optional <label_string> is used as a caption, item label, or text content depending on the control item type, as described in the topics for each type. The optional <parameters> is a sequence of keyword arguments used to set options or influence layout for the control item. The exact parameters that each control item type supports is also defined in the topics for each type.

There are properties associated with each of the user-interface control item types. The properties that are common to all user-interface control item types are described in Rollout User-Interface Controls Common Properties. Properties that are unique to a user-interface control item type are defined in the topics for each type.

As you define a sequence of control items, MAXScript will by default automatically lay them out in the rollout, one below the other in the order they are defined. You can override this layout or make adjustments to it using special layout parameters defined in Rollout User-Interface Controls Common Layout Parameters.