Re: Which form in Application.OnModalBegin and Application.OnModalEnd
- From: Troll <troll@xxxxxxxxx>
- Date: Thu, 29 May 2008 08:36:51 -0700
Fons wrote:
Can I in Application.OnModalBegin and Application.OnModalEnd find out which form is being showed modal ?
Doesn't look like it.
What problem are you trying to solve?
To let the main form do something with the form that is being showed modal. E.g. changing the title of it with the title of the file that is loaded in the main form.
Fons.
Will the file wills change until the main form gets
the modal again?
If that is the case, you can set the title of the child
form upon creation, or in an "OnShow" event.
.
- References:
- Prev by Date: Re: Converting WideChar/WideString to AnsiChar/AnsiString
- Next by Date: Re: Converting WideChar/WideString to AnsiChar/AnsiString
- Previous by thread: Re: Which form in Application.OnModalBegin and Application.OnModalEnd
- Next by thread: Handle / detect <Alt> key combinations
- Index(es):