|
Action Button
An Action Button enables the learner to control events in the interface. These events include for instance starting a (dynamic) animation, resetting all values to the model's defaults or pausing a simulation.
Tab sheet: Basics
| 1. | Click the Basics tab sheet. |
| 2. | In the Default Label box, type the name you want to appear on the button. |
| 3. | In the Action box, select the action the button must trigger. |
| 4. | If you want the text on the button to appear in another font, select a font in the Font box. |
| 5. | If you want the label to be a picture, check Label Is Picture. Then click on the Browse button that appears to select a picture. |
| 6. | If you want the button to be the default for the Enter-key, click Be Default. |
| 7. | If you want the learner to be able to navigate to this button button using the Tab-key, click Can Tab. |
| 8. | To remove the button's border, uncheck Bordered. |
| 9. | To make the button transparent, uncheck Opaque. |
Tab sheet: Colour
| 1. | Click the Colour tab sheet. |
| 2. | Select a colour from the palette. |
| 3. | If the colour is for the text, click text. If the colour is for the button, click button. |
Tab sheet: Position
Please note! Using this tab sheet to set the position is optional. Instead of dragging and resizing, you can use the Position tab sheet to specify relative and absolute positions.
| 1. | Click the Position tab sheet.
- Left, Top, Right, an Bottom, refer to the four sides of the element.
- Relative Position refers to the position on the window, where the maximum left and top side of the window refer to 0, and the maximum right and bottom side of the window refer to 1.
- Offset refers to the amount of pixels from the topleft corner of the window. |
| 2. | Determine the relative position of the left, top, right, and bottom side of the element by typing values between 0 and 1 in the appropriate Relative Position boxes. |
| 3. | Determine the size of the element by typing the amount of pixels in the appropriate Offset boxes. |
Related topics:
Dynamic Widgets
Static Widgets
Copyright University of Twente 2011
|