![]() |
|
iwbs4checkbox - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (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: iwbs4checkbox (/thread-5427.html) |
iwbs4checkbox - sskuropack - 09-17-2025 I have a problem with iwbs4checkbox not working properly. If I compile and run as a standalone program it works as expected. If I compile and run as a service, the checkbox works visually and an OnAsyncClick Event fires properly but the "checked" property it never changes. Currently using Windows 11, Delphi 12.3, IW 16.1.4 (Also tried 15.5.5) procedure TIWNaturesOwnSeed.ApprovedCheckBoxAsyncClick(Sender: TObject; EventParams: TStringList); begin If ApprovedCheckBox.Checked then fApproved:=True else fApproved:=False; ***** Always false if compiled as a service**** end; RE: iwbs4checkbox - Alexandre Machado - 10-05-2025 I'll try to recreate this and get back to you ASAP RE: iwbs4checkbox - sskuropack - 10-11-2025 (10-05-2025, 11:23 PM)Alexandre Machado Wrote: I'll try to recreate this and get back to you ASAP While Trying to recreate it, I cannot bet a BS4Button to work at all. If I remove a BS4Button from my project, the checkbox works properly, add the button either at design time or runtime and the checkbox event never fires. See attached very simple project. RE: iwbs4checkbox - sskuropack - 10-17-2025 I am stuck and looking for an update on this. Thanks RE: iwbs4checkbox - Alexandre Machado - 10-19-2025 I'm working on this today. There were a few other tickets that I had to resolve before this (and release IW 16.1.7) RE: iwbs4checkbox - Alexandre Machado - 10-20-2025 Hello there, I can confirm that the issue exists. I'm working on a solution. I'll keep you informed. Kind regards, RE: iwbs4checkbox - Alexandre Machado - 10-20-2025 Hello there, happens that I was too hasty in this... The example works, as long as you add all the required files to the wwwroot folder. Here's the working example, including all the required files. These files are in the IntraWeb installation folder, subfolder: Source\iwbootstrap4\redist\wwwroot. Please notice that Bootstrap components expect to find them inside the iwbs subfolder, so your actual folder structure must be: Code: YourServer.exehttps://downloads.atozed.com/intraweb/testcases/BS4Button.7z Please let me know if it works for you Cheers RE: iwbs4checkbox - Alexandre Machado - 10-20-2025 You can also try this in your ServerController.OnConfig event: Code: usesIn this case it will retrieve all the required files from a CDN on the internet and it should work. Cheers, |