| SUI_AddFormField (formType; fieldPtr; fieldLabel{; model{; formPage{; miscInfo{; labelObject}}}}) | ||
| Parameter | Type | Description |
| formType | Integer | 0 = output; 1 = input; 2 = dialog |
| fieldPtr | Pointer | Pointer to field object on form |
| fieldLabel | String | Field label |
| model | Longint | language model code |
| formPage | Integer | Form page, if automatic goto page is desired |
| miscInfo | String | Misc information (see description) |
| labelObject | String | Object name of field's label |
| Description SUI_AddFormField allows you to voice-enable a field on an output, input or dialog form. When the label is spoken, the field will take focus, and the specified language model will be set. On output forms, this is used only for sorting and only the first three parameters are considered.
To disable the voicing of a field object, use SUI_RemFormObject. New in v3.0.0 You can now pass the object name of the area's label, or of a colored rectangle used to highlight the area. When the field takes focus, you can use this new feature to alter the label (such as underline it), or make a colored box appear behind the object. See SUI_SetMiscParm (parms 1 and 2) for settings. | ||