PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: gian young on April 03, 2007, 03:36:54 AM

Title: Change in Option button behaviour with Ver 2.80
Post by: gian young on April 03, 2007, 03:36:54 AM
Hi Paul,

I recently updated from Ver 2.65 to Ver 2.80 and recompiled one of my trusty utility programs only to discover that the behaviour of the Option button BN_CLICKED event has changed.

Ie:-  I have an option button array of 5 buttons. With Ver 2.65 a click on any one of the buttons would produce only one BN_CLICKED event.

With the same program compiled with Ver 2.80 a click on any one of the buttons will fire a multiple of BN_CLICKED events equal to the number of buttons in the array.

I have had to revert back to Ver 2.65 until I find a way around this.

Regards

Gian Young
Title: Re: Change in Option button behaviour with Ver 2.80
Post by: TechSupport on April 03, 2007, 07:55:56 AM
I bet that the "Index" property for each control in the OptionGroup is the same value, right? Set each value to increasing consecutive numbers: e.g. 1, 2, 3. That should fix the problem you are seeing.

Title: Re: Change in Option button behaviour with Ver 2.80
Post by: gian young on April 04, 2007, 12:19:57 AM
Thanks Paul,

Right you are as always, what would we do without you. :)

Regards

Gian