New at Lazarus: How can I assign the event of opening a form from another form? lazarus / 10-Designer ---------------------------------------------------------------------- pcaceres · 2010-07-07 17:30 I have a main menu and I need to open cascade menus when i click options. how can I do that? thanks ---------------------------------------------------------------------- typo · 2010-07-07 17:49 It seems that there are more than one question, but I can not understand any of them. To open a form from another form, declare the second unit on the uses clause of the first one. ---------------------------------------------------------------------- pcaceres · 2010-07-07 17:56 Many thanks. I did. Now how can I assign to a button the event of opening the second form? thanks again ---------------------------------------------------------------------- typo · 2010-07-07 18:01 Code: [Select]procedure TForm1.Button1Click(Sender:TObject); begin   Form2.Show; end; ---------------------------------------------------------------------- pcaceres · 2010-07-07 18:03 Thank you so much!!! Where can I find all Lazarus code words like the one you just showed me? thanks again pedro ---------------------------------------------------------------------- typo · 2010-07-07 18:06 You can use Delphi documentation, or Pascal documentation. It is easy to find it on the internet. ---------------------------------------------------------------------- Martin_fr · 2010-07-07 18:12 1) http://www.delphibasics.co.uk/ByFunction.asp?Main=Types&Sub=Pointers 2) enter   Form1. and while the caret is behind the dot, press ctrl-space 3) read this page: http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools ---------------------------------------------------------------------- JD · 2010-07-20 19:51 Look for pdf versions of Delphi 7 documentation especially the Object Pascal Language Guide. It should give you a broad overview of the language & you'll then be able to adapt it to work with Lazarus.