TIWCheckBox problem

<< Click to Display Table of Contents >>

Navigation:  Forum >

TIWCheckBox problem

Forum link

 


 

03-02-2020, 05:09 PM:

 

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.

 


 

03-06-2020, 09:33 AM:

 

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?

 


 

03-06-2020, 05:53 PM:

 

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.

 


 

03-11-2020, 11:06 AM:

 

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...