 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Silvana Guest
|
Posted: Fri Nov 21, 2003 6:56 pm Post subject: Modal - NoModal |
|
|
Is it possible to use a form to be modal even if it is a global form (i.e.
it is create during the appplication start) ?
It is useful to have a form modal so users can't go to other forms before
hiding it, but when it is hidden, it can keep its last changes.
|
|
| Back to top |
|
 |
Hans Galema Guest
|
Posted: Fri Nov 21, 2003 7:30 pm Post subject: Re: Modal - NoModal |
|
|
Silvana wrote:
| Quote: | Is it possible to use a form to be modal even if it is a global form (i.e.
it is create during the appplication start) ?
|
Yes, yuo can both use Form->Show() and Form->ShowModal().
If the form is shown with Form->Show() then you first have to
call Form->Close() before you would call Form->ShowModal().
Be sure not to delete the form while closing. So do not
use the Action parameter in the OnClose event.
Hans.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|