CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

RadioGroupEx: ItemIndex alway -1 at runtime

by JMiller » 29 Jul 2014 08:12

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!"
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Alexander Bulei » 29 Jul 2014 09:15

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.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by JMiller » 29 Jul 2014 09:34

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.
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Alexander Bulei » 29 Jul 2014 10:00

Hi JMiller,

Property Value is required for proper functioning.


Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by JMiller » 29 Jul 2014 10:54

cgdevtools wrote:Property Value is required for proper functioning.

Ok, I misunderstood that.
Now it works.

Thanks.
JMiller
 
Posts: 135
Joined: 13 Jul 2012 05:01

by Alexander Bulei » 29 Jul 2014 10:55

Hi JMiller,

np ;)

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal


Return to JQRadioGroupEx

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.