Re: Radio buttons

Robert Williams (bob@bob.usuf2.usuhs.mil)
Wed, 19 Feb 1997 22:08:05 -0500

To subscribers of the xforms list from Robert Williams <bob@bob.usuf2.usuhs.mil> :

Robert J. Nield wrote:
>
> To subscribers of the xforms list from "Robert J. Nield" <ceerjn@cee.hw.ac.uk> :
>
> Hiya,
>
> Do you have to do anymore to a menu apart form place %r[1..64] afater the
> menu item to make it a radio button, and when selected for its asscoiated
> radio box to light up?

Here is a working example of radio box usage:
....
debug_level_submenu =
fl_defpup(FL_ObjWin(ob),

"Debug Level%F%t|"
"0: No Debugging%R6%x220%h|"
"1: Recent work%r6%x221%h|"
"2: more than 1%r6%x222%h|"
"3: more than 2%r6%x223%h|"
"4: Plotting only%r6%x224%h|"
"5: File I/O only%r6%x225%h|"
"6: unused%r6%x226%h|"
"7: unused%r6%x227%h|"
"8: unused%r6%x228%h|"
"9: Everything%r6%x229%h",
debug_level_submenu_callback,
"0#0",
"1#1",
"2#2",
"3#3",
"4#4",
"5#5",
"6#6",
"7#7",
"8#8",
"9#9");

....

fl_freepup(debug_level_submenu);
....

-- 
Bob Williams, http://bob.usuf2.usuhs.mil/
The opinions expressed herein are those of the author, 
and are not to be construed as representative of the
University or the Department of Defense.
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/xforms-archive/