Settings at the Menu Field Level
You can make the following settings at the field-level:
- nMake a menu field unavailable for user selection.
- nChange the selection character for a menu field. If character selection is enabled, the first character in a menu field is by default the selection character. You can also change the video attribute for the selection character.
- nChange the message that is to be displayed when the field is active. This is initially set in the mnf_def() call or in the Designer, but can be changed during the course of the program.
- nSet the field that you want initially highlighted when the menu form is displayed.
Since menu fields and data fields have common structure members, many menu field options are set using the field functions.
The functions you can use for menu fields are discussed in this and the other menu chapters. Do not use the following functions for menu fields:
sf_boolch() sf_timefmt()
sf_booltoggle() sf_valfp()
sf_clist()
sf_datefmt() fld_blank()
sf_mfclist() fld_clistp()
sf_mtoggle()
sf_radch() fld_isblank()
sf_radgrp() fld_isvalidated()
sf_range() fld_upd()
sf_spin()
|