
6 Laying Out a GUI
6-16
Component Description
Push Button Push buttons generate an action when clicked. For
example, an
OK button might apply settings and close a
dialog box. When you click a push button, it appears
depressed; when you release the mouse, the button
appears raised.
Toggle
Button
Toggle buttons generate an action and indicate whether
they are turned on or off. When you click a toggle button,
it appears depressed, showing that it is on. When you
release the mouse button. Unlike a push button, the
toggle button remains depressed until you click the toggle
button a second time. When you do so, the button returns
to the raised state, showing that it is off.
Radio Button Radio buttons are similar to check boxes, but are typically
mutually exclusive within a group of related radio
buttons. That is, you can select only one button at any
given time. To activate a radio button, click the mouse
button on the object. The display indicates the state of the
button. Mutually exclusive radio buttons are managed
using a button group.
Check Box Check boxes generate an action when checked and
indicate their state as checked or not checked. Check
boxes are useful when providing the user with a number
of independent choices that set a mode, for example,
displaying a toolbar.
Edit Text Edit text controls are fields that enable users to enter or
modify text strings. Use edit text when you want text as
input.
Static Text Static text controls display lines of text. Static text is
typically used to label other controls, provide directions to
the user, or indicate values associated with a slider. Users
cannot change static text interactively.
Komentarze do niniejszej Instrukcji