Re: XForms: menu buttons and radio buttons

Steve Lamont (spl@szechuan.ucsd.edu)
Tue, 19 May 98 18:59:46 PDT

# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

> Whe I use a menu button with Radio Buttons as items, i had not be able to
> activate one of the these radio buttons at the beginning of my
> application, so always these appear desactivated at first, how can i do
> that a radio button (that is an item of a menu) appear pushed at first?.
> Using check button happen the exactly contrary to above.

Use the function fl_set_menu_item_mode() to set the box as "checked."
For example:

fl_set_menu_item_mode( fd_try->menu, 2,
FL_PUP_RADIO | FL_PUP_CHECK );

will set menu item 2.

spl

_________________________________________________
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/