Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Database Data (Fields)

Program Logic (Actions)

To record a Yes/No choice in the data base, make the field's visualization style Check box. 

Image Added Image Removed
To record a choice of one of two values in the data base, make the field's visualization style Radio button.Image Removed

Image Added

To let the user choose from two actions, use two buttons. Image Removed

Image Added 
Or use a menu.Image Removed

Image Added

 |
Choice between several options
Again, notice how differently data and actions are shown:

Database Data (Fields)

Program Logic (Actions)

To record an user's choice of a value for a field, make the field's visualization style Picklist. The picklist's appearance can be:
A set of radio buttons in a frame frame Image Removed

Image Added 
A list box box 

Image Added Image Removed
A drop-down listImage Removed

Image Added

To let the user choose from several items or actions, use a list with a set of buttons buttons Image Removed

Image Added 
Or use a menu for several items: Image Removed

Image Added 
Or for several actions:Image Removed

...

Image Added

There Are Only Three Ways for the User to Trigger an Action
In GUI applications there are only three correct controls you can use to let the user trigger an action:

...

In standard GUI usage these three controls command immediate action. No other control has this characteristic.
Do not, for example, trigger an action when the user ticks a check box (except to write the choice to a database). This is because a check box is universally used to present a yes/no selection, not an action.
Let's say your application brings up a new window if the user decides to create a new invoice. It would be wrong to represent this as a check box, because the user does not expect a new window to appear when they tick a box:Image Removed

Image Added

For your application to behave predictably, you represent this choice as:
 


Image RemovedImage Added

  A push button

Image RemovedImage Added

  A menu option

Image RemovedImage Added

  A toolbar button

...