![]() |
|
ImageButtons are not visible at startup - 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: ImageButtons are not visible at startup (/thread-2309.html) |
ImageButtons are not visible at startup - I.Igor - 03-02-2021 Hello. At the initial start of the web application, the IWImageButtons are not visible. In order to see them, you need to click the "refresh" button in the browser. This happens in chrome and edge browsers. In Internet Explorer, the buttons are immediately visible. But just Internet Explorer is not the browser that I need. This is a big problem for me, since the main menu of my program is made using IWImageButtons. Help me please. How to force web application to update buttons on startup? I am using IW 15.2.24 and Delphi 10.4.1 I have attached a screenshot of the test application, which shows the behavior of different browsers at startup. Additionally, I attach the source of the test case. RE: ImageButtons are not visible at startup - Alexandre Machado - 03-02-2021 I'll try your project and see how it goes. Please hold on... RE: ImageButtons are not visible at startup - I.Igor - 03-05-2021 Hello, Alexandre. I tested my example on Delphi 2007 + IW 11.0.65. When starting in Google Chrome, all ImageButtons are visible as expected. How can I achieve the same in IW 15.2.24? I really look forward to help. RE: ImageButtons are not visible at startup - I.Igor - 03-12-2021 (03-02-2021, 08:09 PM)Alexandre Machado Wrote: I'll try your project and see how it goes. Please hold on... Hello, Alexander. I still haven't solved the problem. Should I wait for your answer? RE: ImageButtons are not visible at startup - microSOLUTIONS - 03-12-2021 Try to render the button's size. It's width is 0px. You can set it design or runtime: IWImageButton1.StyleRenderOptions.RenderSize := True; RE: ImageButtons are not visible at startup - I.Igor - 03-12-2021 (03-12-2021, 04:52 PM)microSOLUTIONS Wrote: Try to render the button's size. It's width is 0px. I checked IWImageButton1.StyleRenderOptions.RenderSize: = True; Thank you dear friend! Your tip helped. Now the buttons behave as I expected. |