Controls That Present Choices to Users


 

Most applications need to present choices to their users, ranging from a simple yes/no option to selecting from a list containing hundreds of possibilities. Visual PL/B includes several standard controls that are useful for presenting choices. The following table summarizes these controls and their appropriate uses.

 

To provide this feature

Use this control

A small set of choices from which a user can choose one or more options.

CHECKBOXes

A small set of options from which a user can choose just one.

RADIO buttons (use GROUPBOX if additional groups are needed)

A scrollable list of choices from which the user can choose.

DATALIST

A scrollable list of choices along with a text edit field. The user can either choose from the list or type a choice in the edit field.

COMBOBOX

 

CHECKBOXes, RADIO buttons, DATALISTs, and COMBOBOXes are discussed in the following sections:

 



PL/B IDE Studio Help Selecting Individual Options with Check Boxes