single buttons
05-Jun-94 11:38:53
Sb: #105518-single buttons
Fm: Danny Mercurio 74551,360
To: Don Hanson 71344,2201
Hey Don,
Try this:
int radio0=1, radio1=2;
static RadSub main_rad[]={
FILTON, feel_filter, &radio0, 0,
FILTOFF, feel_filter, &radio0, 1,
SCRADD1, feel_add_rem1, &radio1, 2,
SCRREM1, feel_add_rem1, &radio1, 3,
-1, FNULL, NULL, -1
};
By assigning a value to the "radio" variables, you can determine which button
is in the "on" state when the process begins. When the "radio" variable is
equal to its accompanying state variable, that radio button is "on".
In this example, FILTOFF and SCRADD1 are both in the "on" state and are
displayed in red when you open the dialog box because FILTOFF radio0 equals 1
and SCRADD1 radio1 equals 2.
Hope this helps,
Danny…