Next Previous Contents

4. The various FIELD_xxxx classes

The various FIELD_xxxx objects are seldom used by client code. They are used to implement the various edit fields.

4.1 FIELD_COMBO

Alphabetical function listing

Classe FIELD_COMBO, vue publique

Specifications

#Specification: FIELD_COMBO / principle ([fcombo.cc,44])

The FIELD_COMBO class is a string editor with an assist hot key. When triggered a list of string is displayed and the user is allowed to pick a value from there. The value (if selected) will replace the input buffer.

FIELD_COMBO::addopt()

Add one string option to the combo box pick list

        PUBLIC void FIELD_COMBO::addopt(
                const char *str)
        

FIELD_COMBO::addopt()

Add one string option to the combo box pick list. This time there is two string. The strings will be show in the pick list like this value verbose

        PUBLIC void FIELD_COMBO::addopt(
                const char *value,
                const char *verbose)
        

4.2 FIELD_LIST

Alphabetical function listing

Classe FIELD_LIST, vue publique

Specifications

#Specification: FIELD_LIST / principle ([fcombo.cc,60])

The FIELD_LIST class is a selector editor with an assist hot key. When triggered a list of string is displayed and the user is allowed to pick a value from there. The value (if selected) will replace the input buffer. The use may either use the input buffer to type the value or use the list, but the input has to come from the list.

4.3 FIELD_ENUM

Alphabetical function listing

Classe FIELD_ENUM, vue publique

Specifications

#Specification: FIELD_ENUM / principle ([fcombo.cc,356])

A FIELD_ENUM is like a field list, except that the information edited is the index (a selector) in the list, while the FIELD_LIST edit a string which must have the value of one of the item of the list In the FIELD_ENUM, we want to know which elm was choosen.


Next Previous Contents