please find attached the problematic project.
Would you mind to also respond to my issues:
- TWebImageControl resizing image fails
- TCustomImageControl.OnLoaded never fires
- TWebMessageDlg - How to prevent element.styles when there are CSS classes set
The code related to the first 2 problems you will find in TMainForm.SetCustomerLogo followed by the timer (!!) called TMainForm.ImgClientLogoLoaded, where I desperately try to change the size of the image, with no luck by now.
For the TWebMessageDlg issue, please see Unit Tools.pas Function MessageDlgEx().
With regards to deleting files in the output folder, I fully understand your point. So maybe it would be a great idea if there was a way to add to the project options two settings for batchfiles that are executed before and after the compiler run. In my case, the BEFORE batch would clear the output directory and the AFTER batch would FTP the output to the server. At the moment, I do this manually…
Many thanks, kind regards / Freundliche Grüße
(Attachment PWA.7z is missing)