|
Yes. The application object does exist, so
in my last post I definitely typo’d saying it does not exist. Sorry. In a normal application the Application
Var is created in Controls.pas initialization. But be aware that your entire application
is generally executing from the Application.Run context, so anything outside of
this may not behave as you expect such as receiving windows events and such. Not
that I’ve tested that because I wouldn’t use finalization or
initialization for anything other than basic things From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul A Norman P.S. the Application object is used whcih some one earler suggested was
not possible. The application does work! On 23/05/06, Paul A
Norman <[EMAIL PROTECTED]>
wrote: Just back in the basics where I am for a moment, This is some code I found following a link that Stefan suggested in
another thread today. What is the benefit of doing it all in initialization and finalization if it were
contained in a form unit (which it was not incidentily)? initialization
Table := TTable.Create(nil); finalization
On 23/05/06, Karl @ Work < [EMAIL PROTECTED] > wrote: > I'm curious as to why each of your consuming
units needs to keep a _______________________________________________
|
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
