PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Change in Option button behaviour with Ver 2.80  (Read 239 times)

gian young

  • Guest
Change in Option button behaviour with Ver 2.80
« on: April 03, 2007, 03:06: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
Logged

TechSupport

  • Guest
Re: Change in Option button behaviour with Ver 2.80
« Reply #1 on: April 03, 2007, 07:25: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.

Logged

gian young

  • Guest
Re: Change in Option button behaviour with Ver 2.80
« Reply #2 on: April 03, 2007, 11:49:57 PM »

Thanks Paul,

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

Regards

Gian
Logged