CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

OnChange()

by Aggie85 » 12 Jul 2015 03:35

Howdy!

In the latest version, the OnChange() event doesn't fire when a button is clicked!

Best Regards.

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24

by Alexander Bulei » 13 Jul 2015 16:39

Hi Aggie85,

Works find here.
Can you provide us the simple 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 Aggie85 » 15 Jul 2015 16:11

Howdy Alex!

Sorry for the delay - I just got back from a ride!

I just tried again this time with IWCGJQMRadioButtons.

All I am doing is creating a new IW form and putting a single IWCGJQMRadioButtons on the form, set it to show horizontally, create a couple of buttons, create an OnChange event, set a breakpoint on the OnChange() event, compile, and run.

The form constructor breakpoint gets invoked! If I check on any of the buttons, the OnChange() never gets fired.

I have tried every combination of properties. I am using C Builder XE8 with the latest IW 14.0.44 + latest CGDevTools.

Thanks,

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24

by Alexander Bulei » 15 Jul 2015 16:52

Hi Aggie85,

About which component are you talking?
Topic created in JQMCheckButtons section, but now you are talking about JQMRadioButtons...

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 Aggie85 » 15 Jul 2015 16:57

Howdy Alex!

Sorry I wasn't clear in my last post.

I have tried both JQMCheckButtons and JQMRadioButtons.

The result is the same in C Builder XE8. Neither component fires the OnChange() event.

Thanks,

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24

by Alexander Bulei » 15 Jul 2015 18:23

Hi Aggie85,

I have checked both here and they works as expected.
Note: if all items (in both components) should have values.

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 Aggie85 » 17 Jul 2015 18:12

Howdy Alex!

Jorge pointed out in my example that I was using a TIWForm as the parent component instead of a mobile region set as a page!

Thanks for your help and sorry the newbie error!

Best,

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24

by Alexander Bulei » 17 Jul 2015 18:14

Hi Aggie85,

Ah good, np ;)

Have a nice weekend.

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 JQMCheckButtons

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.