-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
consideringConsidering or investigating the issueConsidering or investigating the issueenhancementNew feature or requestNew feature or request
Description
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...
procedure TMain.FormCreate(Sender: TObject);
begin
//...
Windows.SetMenu(Handle, MainMenu1.Handle);
end;
Contributed by: topellina [email protected]
Metadata
Metadata
Assignees
Labels
consideringConsidering or investigating the issueConsidering or investigating the issueenhancementNew feature or requestNew feature or request
Projects
Status
Considering