TIWCheckBox problem - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: TIWCheckBox problem (/thread-1561.html) |
TIWCheckBox problem - geremiah - 03-02-2020 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. RE: TIWCheckBox problem - Alexandre Machado - 03-06-2020 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? RE: TIWCheckBox problem - geremiah - 03-06-2020 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. RE: TIWCheckBox problem - Alexandre Machado - 03-11-2020 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... |