Posts: 21
Threads: 7
Joined: Jul 2018
Reputation:
0
Location: Italy
After the 15.1.15 upgrade, testing the checked value of a TIWCheckBox in the OnAsyncChange or OnAsyncClick or OnChange events it return always true.
Before this upgrade the value was managed correctly.
Best Regards.
Giovanni P.
Posts: 2,302
Threads: 204
Joined: Mar 2018
Reputation:
87
Location: Auckland, New Zealand
I can't recreate this.
- I create a new project from scratch.
- Add a new IWCheckBox
- Add an event OnAsyncClick with the following code:
if IWCheckBox1.Checked then begin
WebApplication.ShowMessage('Checked');
end else begin
WebApplication.ShowMessage('Unchecked');
end;
Everything works as expected.
- Then I remove this code and add the same code to OnAsyncChange event.
- I got the same result, i.e. the method works as expected.
Can you please see if you can recreate following the same steps above?
Posts: 21
Threads: 7
Joined: Jul 2018
Reputation:
0
Location: Italy
I've tryed too a small project for recreate the issue, and, it is running correctly too.
The problem is on my form, that has a large number of controls of it.
I've found a workaround forcing by code the change of the value.
I'll install the 15.1.16 updgrade for seeing what happen.
I will let you know.
Posts: 2,302
Threads: 204
Joined: Mar 2018
Reputation:
87
Location: Auckland, New Zealand
Is this check box parented to other control? Other controls in that form shouldn't affect the behavior. Maybe the direct parents of the control can...