Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 3 lut 2011 · A slightly simpler solution, if you use simple embedded forms. Only the main form has to do something: 1. Add a 'embedded form' close method to the main form. 2. Set the embedded's form OnClose handler to this close method.

  2. Sounds unusual way to build your program to hide the first form. But you can add unit1 in the uses list of unit2, but it goes to implementation section, not interface. Then you can call form1... from form2 functions. Instead of hiding form1 to begin with, can you do form2.ShowModal? It would just leave first form in "disabled" state.

  3. 16 lut 2020 · In the Main menu click File -> New Form, to add a second form (Form2) to the project. Place a button (Button1) on Form2 and create the OnClick event handler for it. Change the caption of this button to "Close". Now the project has two forms, each of which can be selected and displayed with Main menu Project -> Forms (or key combination ⇧ ...

  4. 26 sty 2007 · Each unit can have potentially 4 sections: interface, implementation, initialization and finalization. And each of these can have a uses clause. If you add a unit to the interface uses clause, you can use things from it on all sections.

  5. The OnClose event can be used to control what happens to the form when it is closed. The CloseAction parameter of the OnClose event handler determines what happens

  6. lazarus.bg-lazarus.com › en › themes6. Forms in Lazarus

    It's used for tasks such as releasing occupied program resources, closing files, or saving work results. The module concludes with the "end" keyword. Comparing the code of Unit2 (the second form) and the empty Unit3 module, we notice that Unit3 does not include the form and components in its code.

  7. 16 lip 2022 · The form represents a window or dialog box that forms the user interface of an application. It is the container on which all other components (e.g. buttons, labels, edit fields, images...) can be inserted. A new TForm can be created using File|new....

  1. Ludzie szukają również