Page 1238 - Kitab3DsMax
P. 1238

Part XII: MAXScript and Plug-Ins
                                        TABLE 49.2  (continued)
                                                   Element
                                       Button
                                                   Drop Down List
                                                                    Adds a list with one item displayed
                                                                    Adds a list with several items displayed
                                                   List Box
                                                   Edit Box         What It Does
                                                                    Adds a text field that can be modified
                                                   Label            Adds a text label
                                                   Group Box        Adds a grouping outline to surround several controls
                                                   Check Box        Adds a check box control that can be toggled on or off
                                                   Radio Buttons    Adds a set of buttons where only one can be selected

                                                   Spinner          Adds an up and down set of arrows that can modify a value field

                                                   Progress Bar     Adds a bar that highlights from left to right as a function is completed

                                                   Slider           Adds a slider control that can move from a minimum to a maximum value


                                                   Timer            Adds a timer that counts time intervals

                                                   ActiveX Control  Adds a generic ActiveX control created by a separate vendor

                                                   Custom           Adds a custom control that can be defined as needed



                                             At the bottom right of the window are two text fields that display the coordinates of the current mouse cur-
                                             sor position and the size of the rollout. The default size of the rollout is 162 × 300, which is the size needed
                                             to fit perfectly in the Command Panel.


                                             Laying Out a Rollout

                                             The rollout space, which appears gray in the left pane, can be selected and resized by dragging the black,
                                             square handles at the edges of the form. As you change its size, its dimensions are displayed in the lower-right
                                             corner of the interface. With the rollout space correctly sized, you are ready to add elements to the space.




                                      1190
   1233   1234   1235   1236   1237   1238   1239   1240   1241   1242   1243