Radio Option Button Problem - All Turn On

Started by Mark Strickland, January 08, 2008, 11:16:31 AM

Previous topic - Next topic

Mark Strickland

I have a problem that just surfaced in some old code.

I have 3 radio option buttons in a group.  Previously when the form is launched only the specified button was selected and the others were not.  Now ALL THREE are selected.  Clicking a button works as expected (turning off the others).  I have tried forcing the correct button on and the others off in the FORM CREATE but nothing changes.  I have even tried SENDMESSAGE to simulate a click of the desired button but no luck.

The program is very large so finding any "accidental" changes that may have caused this is not easy.  There were no changes on the form itself that seem to be related to the radio buttons.

FF is 2.86 with PBwin 8.04.

Any thoughts would be appreciated.

Thanks.



Mark Strickland

OK -- I found it but I don't understand.

The OptionGroup name was duplicated across several different forms.  Until something (unrelated) changed on this form it all worked fine.

The other forms that use the same name seem to work OK currently but if they change maybe FF regenerates the form in such a way that the conflict is created.