Reputation: 1695
Yesterday at work I noticed 2 very strange things: one of them is this one (Form is hidden behind other forms when ShowModal is called) and second one is: I have inherited form. Parent form haves no TSaveDialog. Inherited one haves it. When I build the project and I call the code that opens dialog I see:
When I double click in Object Inspector on OnClose, just 'inherited' appears. I add some comment and I have it like:
procedure TInheritedForm.SaveDialog1Close(Sender: TObject);
begin
inherited;
// Thats all here. Parent form haves no TSaveDialog!
end;
When I build the project and I call the code that opens dialog I see:
Both things I mentioned seems impossible to me. I got some notes about first issue, what about second one? Thank you.
Upvotes: 1
Views: 359
Reputation: 11
there are some bugs:
MDIChild Form loses focus after showmessage Status: Closed https://web.archive.org/web/20171220121537/http://qc.embarcadero.com/wc/qcmain.aspx?d=104381
TFindDialog.Execute - Application loses focus and is send to back, behind other Application https://web.archive.org/web/20171220121735/http://qc.embarcadero.com/wc/qcmain.aspx?d=127572
Find dialog can pick an invisble form as its parent. Upon closing, can send the application backwards Bug 109470
Upvotes: 1