Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWCheckBox problem
#1
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.
Reply
#2
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?
Reply
#3
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.
Reply
#4
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...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)