Radio button trouble

Robert J. Nield (
Wed, 26 Feb 1997 11:00:53 +0000 (GMT)

To subscribers of the xforms list from "Robert J. Nield" <> :


I have been trying to create a simple pulldown menu, which contain a set
of four elements which I wish to have radio button behaviour.

I am having trouble getting the buttons to behave correctly. I am using
'%rg' which tells compiler that it is a radio button, but when I click on
any element the gray diamond to its left stays grey and not blue.

I have looked at the demos, but I have tried various lines out of that
with no luck. I have tried giving the elements identifiers via the '%x'
tag, but that still does not work. The general fucntionality of the
element works okay, because I have print statements in the callbacks, so
it is definitly being called right. I have run out of ideas, I would be
very grateful if anybody out there could set me right on this one.

**** code frag from xx_main.c - definition of proprerties ****

fl_set_menu(fd_sect2->encrypt_menu,"Methods %t|PGP%R1|DES%r1|IDEA%r1");

** end code frag **

**** code frag from xx.c - definition of menu ****

fdui->encrypt_menu = obj =


** end code frag **

Any help greatly appreciated,


~ Robert J.Nield ~
~ -------------- ~
~ Telephone / answer machine: +44(0)131 449-8323 ~
~ Home page at ~

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: