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:
- big dialog window
- file extensions
- when I close dialog, focus goes to main form (not modal one that called it)
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:
- smaller dialog window
- no file extensions
- when I close dialog, focus goes to modal form (the one that called it)
Both things I mentioned seems impossible to me. I got some notes about first issue, what about second one? Thank you.