Show Intro while Application Inizializing lazarus / 39-Graphics ---------------------------------------------------------------------- Weitentaaal · 2021-03-25 13:23 Hello Guys So i tryed out a Lot but didn't find anything to work with. I Wanted Show a Logo on Screen while MainForm is in "OnCreate" Event. It Should show a Picture wich gets Displayed until Form is Ready to use. ---------------------------------------------------------------------- engkin · 2021-03-25 13:30 "Splash screen" is the term you are looking for, search for it and you will see examples. ---------------------------------------------------------------------- Josh · 2021-03-25 13:41 Hi If its all to be on the same form, the order of the events are create,show,activate. have a look at this atricle on delphi. https://www.thoughtco.com/life-cycle-of-a-delphi-form-1058011 I would not add too much to the Oncreate event, just the basics. use the onshow and activate events; and havea variable that only allow it to run code once; as thiese events can be fired at other times. maybe something like this. global vars formshowcodecomplete:boolean=false; formactivatecodecomplete:boolean=false; The onshow event you could add here something like. begin   if formshowcodecomplete=false then   begin       formshowcodecomplete:=true;       // do code here to run only the minimum required to allow form to be dislayed.       mysplashpanel.visible:=true;       .. any important stuff;   end; end; in the onactivate event. begin   if formactivatecodecomplete=false then   begin     formactivatecodecomplete:=true;      // do code here to run only once.     ... do all the initializing stuff now, the stuff that takes time.     // depending on how much you could also update a visible progress throughout this routine.      mysplashpanel.visible:=false;   end; end; ---------------------------------------------------------------------- Handoko · 2021-03-25 14:09 Maybe a splash screen like this: https://forum.lazarus.freepascal.org/index.php/topic,53807.msg398536.h tml#msg398536 Or a progress bar when loading and preparing some internal data like this: https://forum.lazarus.freepascal.org/index.php/topic,50989.msg373578.h tml#msg373578 ---------------------------------------------------------------------- alaa123456789 · 2021-03-25 16:46 i have found very nice library made with c , and post it on this forum but experts they said it is not important now , so if someone have experience to port it to lazarus it could be useful for many here https://forum.lazarus.freepascal.org/index.php/topic,53295.msg394097.h tml#msg394097 thanks ---------------------------------------------------------------------- engkin · 2021-03-25 16:51 Quote from: alaa123456789 on March 25, 2021, 05:46:03 pmbut experts they said it is not important now Huh? where did they say that? ---------------------------------------------------------------------- Handoko · 2021-03-25 16:52 That library is interesting. Unfortunately I'm not familiar with vector image loading, JSON and C. Not an easy task, finding someone has all the skills is not easy too. ps I believe, not a trivial task means not simple/easy. ---------------------------------------------------------------------- alaa123456789 · 2021-03-25 17:03 Quote Huh? where did they say that? in same topic, i think many look for something made the application attractive. nothing compulsory  thanks ---------------------------------------------------------------------- flowCRANE · 2021-03-26 21:58 Some time ago I was making a splash screen for my software. Opening the program required a dozen or so seconds due to the large number of graphics being loaded into the memory. The user must know that the program is starting — he cannot think about what is happening, that the program window does not show, even though the program is running. Quote from: Weitentaaal on March 25, 2021, 02:23:07 pmI Wanted Show a Logo on Screen while MainForm is in "OnCreate" Event. It Should show a Picture wich gets Displayed until Form is Ready to use. It's not done that way. The splash window should be created, displayed on the screen, and destroyed in a manner unrelated to the main program window. Typically, this is done so that the entire splash window process is controlled in the main project file. The splash window is created and displayed on the screen (and blocked), then the data from files is loaded into memory (configuration, images, etc.) and the main window is created. Finally, it destroys the splash and goes to the Application.Run method, which shows the main program window on the screen. However, the worst thing you can do is throw logic into the main form events. The window should not have any connection with the data and the loading/saving process. If you do this, it will be difficult to do anything. ---------------------------------------------------------------------- Weitentaaal · 2021-03-29 11:46 Thanks Guys... there is definitely something i can use