Validates selection character and moves to field
| Call | |
| #include <vv_form.h> | |
| int vf_selchar(key, dfmp) | |
|
UCHAR key |
Key that was pressed |
| DFORMPTR dfmp | Current form |
| Returns | |
| 1 | Match was found. Cursor was moved to that field. |
| 0 | Match was not found. |
| Description
vf_selchar() checks to see if a field exists with the passed selection character. If one exists, it determines the field type and moves to that field. If the field is a pushbutton and the FLDAUTOSELECT flag is ON, the field will be selected. Checkbox and Boolean toggle fields will be toggled if FLDAUTOSELECT is ON. If moving to a radio button group, the radio button will move to the selected field. |
|