I currently have a delphi 7 project in front of me, and what the original software creators did is used as a launch pad for another form containing the actual controls and logic for the entire application. Thus, basically, form1 is loaded, set to invisible, and another form is created and displayed (a form with all the controls and user interface logic), its a weird way of doing something, but the way they did it.
Now I am not familiar with how delphi 7 handles its forms, but this is the second window, a window with all the controls, whenever I click the Minimize button, the form does not fall on the taskbar, as you might expect, but rather, resize so that only the minimize, maximize and close buttons are visible, and then they are placed in the lower left corner of the screen, just above the initial menu.
creating this second window:
frmPlatform := TfrmPlatform.Create(frmMain);
ModalResult := frmPlatform.ShowModal;
where frmMain is an invisible form.
My question is: why the second window is not minimized, as you would expect and drop it on the taskbar? and how can I make it work
thank
source
share