option buttons

Started by Christian Weilguny, October 27, 2012, 11:26:30 AM

Previous topic - Next topic

Christian Weilguny

Hi all,

I try to place some option buttons on a form in FF 3.10.

The buttons (I placed two) have the same OptionGroup, the index is 1 and 2.

If I run the program and click on one of the option-buttons, the program freezes. If the button was not marked, it is now marked, if the button was marked it is still marked. The program must be closed with the system-close butten (with error-message).
There is no code for the option-buttons from me. I have only placed the buttons on the form and set the properties.

What do I wrong?

Thanks for helping

Christian Weilguny

Paul Squires

? Don't know. I can't replicate a GPF using FF3.1. Are your two option buttons part of a control array?
Paul Squires
PlanetSquires Software

Christian Weilguny

Hi Paul,

in the meanwhile I have tested some situations.
May be, the option-button does not work in W2k?

I made a little exe only with two option-buttons. In Win7 it works in W2k the exe hangs.

Christian

Paul Squires

I haven't tested it on Windows 2000 in a very long time. I am loading that operating system now into VirtualBox to test. I will let you know the results very soon.
Paul Squires
PlanetSquires Software

Paul Squires

I created a simple FF3.1 project with just two option buttons on a Form. I compiled the program and copied to Windows 2000 SP4 running under VirtualBox. I ran the program and was able to click on each button changing it from selected/unselected without any problems. Not sure why it is not working for you. Maybe it doesn't GPF for me because I'm running it in a virtual box. Not sure.
Paul Squires
PlanetSquires Software

Christian Weilguny

Hi Paul,

I run and develop under W2k in a virtual box, too.
The program doesn't make a GPF, it's like an endless loop.
The first click marks an option button, if it's not marked, but it doesn't demark if I click on an option button that is by default marked. From this moment the program doesn't react to any keys or mouseclicks. Only the system-closebutton reacts with 'The program doesn't react ....' (I hope this ist the right translate, I know this only in German).

Christian

Marc van Cauwenberghe

Hi Christian,

could you make a small sample project with just the option buttons and see if the problem exsist in the new project.
If it does attach it to a toppic so that we can have a look.

Marc

Christian Weilguny

Hi Marc,

Quotecould you make a small sample project with just the option buttons and see if the problem exsist in the new project.
Exactly this have I made.
The problem remains in W2k but disappears in Win7.

If I use the whole program (with all the dialogs and menus) the problem remains in W2k and in Win7.
In the meanwhile I changed the option buttons with comboboxes, so I have no problem. Later (when I have the time), I'll come back to this problem. I suggest, it's something in my environment.

Thanks
Christian

Marc van Cauwenberghe

Hi Christian,

have you ever been able to solve this. I got it as well. Program freezes when selecting one of the option buttons. Have commented out all code that has some influence on it but still freezes!!!

Regards,
Marc