-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Change form from Modal to non Modal briefly is based on business
rule, but for technical issues, the best is to use Modal, if you use
non Modal, you can not control what is on, like for Database TQuery
closed or not, by the way, every form showed will allocate memory, of
course for today's computer this should not be an issue. But control
TQuery is very important.
Best Regards
Leigh Wanstead
- ----- Original Message -----
From: Grant Black <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Tuesday, January 18, 2000 3:51 PM
Subject: RE: [DUG]: Show/ShowModal
> > how about any FormActivate events I have on the forms, these get
> > run everytime the form is "refocused"? Should these be shifted to
> > OnActivate?
>
> Depends on what you are doing but most stuff should remain in the
> OnCreate or OnShow - what sort of processing would you want to do
> when something gets/loses focus?
>
> I would still be tempted if I was you to re-think the approach to
> the UI. Why have nothing on the main form - is there nothing on the
> dialogs that is common? I have seen apps that are simply a menu
> of buttons (or a pull down menu) on the main form, but these always
> strike me as being converted command line apps or a bunch of
> separate apps tied together into one UI for no good reason.
> --------------------------------------------------------------------
> ------
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.1 for non-commercial use <http://www.pgp.com>
iQA/AwUBOIM+6ucpyPm4rG9PEQJnbACgnaGGjvOXx7j7keo1LlvnYwFel64AoOn3
DsyUUPrBSs/TVGwiKEtQI+Qb
=LjRE
-----END PGP SIGNATURE-----
smime.p7s