Page 1 of 1

OnChange()

PostPosted: 12 Jul 2015 03:35
by Aggie85
Howdy!

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

Best Regards.

Aggie85

Re: OnChange()

PostPosted: 13 Jul 2015 16:39
by Alexander Bulei
Hi Aggie85,

Works find here.
Can you provide us the simple testcase? T.I.A

Best Regards.

Re: OnChange()

PostPosted: 15 Jul 2015 16:11
by Aggie85
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

Re: OnChange()

PostPosted: 15 Jul 2015 16:52
by Alexander Bulei
Hi Aggie85,

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

Best Regards.

Re: OnChange()

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

Re: OnChange()

PostPosted: 15 Jul 2015 18:23
by Alexander Bulei
Hi Aggie85,

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

Best Regards.

Re: OnChange()

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

Re: OnChange()

PostPosted: 17 Jul 2015 18:14
by Alexander Bulei
Hi Aggie85,

Ah good, np ;)

Have a nice weekend.

Best Regards.