How to change screen ? lazarus / 10-Designer ---------------------------------------------------------------------- GoDxNero · 2009-10-17 10:43 When you play a game the first things you will see is almost a menu screen. http://freegameslodge.com/files/image/a4play%20with%20fire.jpg Then after you press the start button another screen will appear . How is it possible in delphi ? http://www.katze-killer.com/games2/images/playwithfire.gif so how do make the same effect after click 1 button ? I have though of chaning the Form1.left or top but its just wrong xD. Or somethings with changing Form1 into Form2 ? ---------------------------------------------------------------------- Martin_fr · 2009-10-17 11:40 You can: 1) hide the current form, and show another form. If you need to save resources (have a real lot of forms) you can remove them from auto-create, and create them on the fly) 2) use a page-control or similar / us multiply panels (all alClient) and bring the desired one to front panelX.BringToFront; 3) Not use the designer, but create / destroy components on your form by hand (probably not what you are looking for) ---------------------------------------------------------------------- GoDxNero · 2009-10-17 12:24 Which one do you suggest me to use for a game ? Example on the first screen there is an option for time limit. Then after I use the var of that screen to set the time on my second screen. I think option 1 but is option2 possible too ? Which one is better ? Do you got links to where I can find more tutorial about this ? ---------------------------------------------------------------------- Martin_fr · 2009-10-17 13:51 Depends a lot of the game you want to do. Also option 1 means 2 forms, which have individual positions on the screen, and each has it's own size..... option 2 has just one form. The panel solution is used in various places, but it is more work in the designer, because you always see only one panel. If your game needs graphics, maybe you should look at glscene. Or maybe drawing directly to the canvas (in the paint event only). Sorry I have no links, maybe someone else. ---------------------------------------------------------------------- Ñuño_Martínez · 2009-10-19 08:26 Hello GoDxNero. Despite the answer from Martin_fr which is a correct answer, I recommend you that if you're programming a game you should use a game oriented library and no use the LCL. There are several game libraries for FPC, but I recommend you SDL and Allegro.pas. (SDL's web site seems down, that's why I linked the JEDI Portal)