Page 1 of 1

RadioGroupEx: ItemIndex alway -1 at runtime

PostPosted: 29 Jul 2014 08:12
by JMiller
Hello!

I have a problem with a IWCGJQRadioGroupEx. If I programatically set the ItemIndex to 0,1,... the correct RadioButton is selected (though the JQEvents->OnChange and the JQRadioGroupOptionsEx->OnChange don't fire).
But if I set
int i = IWCGJQRadioGroupEx1->ItemIndex;
i is always -1

Is this a bug or is there another way to find out the selected RadioButton?


Best regards,
JM

P.S.: I'm running C++ Builder XE2 with CGDevTools 2.2.1.13 for IW 12.2.31
P.P.S.: The Plugin Documentation yields a "Documentation not available!"

Re: RadioGroupEx: ItemIndex alway -1 at runtime

PostPosted: 29 Jul 2014 09:15
by Alexander Bulei
Hi JMiller,

Do you have RadioGroupEx properly completed?
Property Value is required for proper functioning.

Can you provide the testcase? t.i.a

Best Regards.

Re: RadioGroupEx: ItemIndex alway -1 at runtime

PostPosted: 29 Jul 2014 09:34
by JMiller
Completed how?
I added 2 Items to the RadioGroupEx and entered a Caption for each (if that's what you mean).

The test case is on its way.

Re: RadioGroupEx: ItemIndex alway -1 at runtime

PostPosted: 29 Jul 2014 10:00
by Alexander Bulei
Hi JMiller,

Property Value is required for proper functioning.


Best Regards.

Re: RadioGroupEx: ItemIndex alway -1 at runtime

PostPosted: 29 Jul 2014 10:54
by JMiller
cgdevtools wrote:Property Value is required for proper functioning.

Ok, I misunderstood that.
Now it works.

Thanks.

Re: RadioGroupEx: ItemIndex alway -1 at runtime

PostPosted: 29 Jul 2014 10:55
by Alexander Bulei
Hi JMiller,

np ;)

Best Regards.