To use character selection, the character selection option FLDCHSELECT must be ON for the form. This is the system default.
The first character is the default selection character. You can change the selection character to any letter in the field string. You can also aid the user in determining what the selection character is for a menu field by highlighting this character.
Designer: You can change the selection character for a menu field in the Designer. See the Designer User's Guide for more information. You can also change the selection character in your code by calling sf_selectch(), as described below.
Code: To change the position and the attribute of the selection character for a menu field, use the set field selection character function, sf_selectch():
|
||
|
|
|
|
|
|
|
|
|
Numbering of characters in the field string starts at 0. The following code example defines three menu fields and highlights the selection character (the capitalized character in the field string):
|