|
Purpose |
Generates radio buttons on a map. Obsolete from v 4.603 onwards | ||
|
Syntax |
askm_radio(int mapnr, int fieldnr, short *selected, | ||
|
Parameters |
int mapnr |
The number of the map to display the radio buttons | |
|
|
int fieldnr |
The number of the current field | |
|
|
short *selected |
Pointer to the number of the default selected radio button in the set; the first in the set is 0 | |
|
|
int low_field |
The lowest field number displayed as a radio button | |
|
|
int high_field |
The highest field number displayed as a radio button | |
|
|
int flags |
Specifies the display format, acting like the global variable scrn_flags | |
|
Description |
The function askm_radio() creates a set of radio buttons in a DP4 map. Each button in the set constitutes a field in the map. The low_field and high_field parameters determine the range of field numbers of the set. One button must be specified as the default selection using the selected parameter. This is 0 if the lowest field is the default, 1 if the second and so on. From v 4.603 the askm_radio() function has been discontinued. The terminal manager supports the use of radio-type buttons through its regular input routines, in which each button is assigned a field number. | ||
|
Return values |
None | ||
|
Example |
| ||