Open delphidabbler opened 1 year ago
Possible new tip from extra/Topelina Tips.odt
extra/Topelina Tips.odt
Show the mainform as a dialog with a mainmenu.
If you want to show your mainform as a dialog (setting BorderStyle := bsDialog) and don't want to miss your main menu...
BorderStyle := bsDialog
procedure TMain.FormCreate(Sender: TObject); begin //... Windows.SetMenu(Handle, MainMenu1.Handle); end;
Contributed by: topellina riccardo.faiella@alice.it
Possible new tip from
extra/Topelina Tips.odt
MainFormAsDialog
Show the mainform as a dialog with a mainmenu.
If you want to show your mainform as a dialog (setting
BorderStyle := bsDialog
) and don't want to miss your main menu...