< Previous | Contents | Next >
The MultiButtonControl displays one or more buttons used to select from a range of options.
To add a MultibuttonControl to an input, you first specify the MultiButtonControl as the INPID_ InputControl attribute in an AddInput function. Each button is then described by a table added to the same AddInput attribute table. See the example below :
This control returns an integer value representing which button is selected. If the first button is selected, the value will be 0, the second button would return as 1, and so forth.