TIP: Click on subject to list as thread! ANSI
echo: delphi
to: GARY WEINFURTHER
from: DEREK GRAINGER
date: 1997-11-14 02:02:00
subject: Forms opening with App

 Hi Gary,
 Gary Weinfurther wrote to Derek Grainger about Forms opening with App
 GW> Derek Grainger mentioned this to Gary Weinfurther:
 DG>>      I *am* letting Delphi auto-create the forms. I was just using the
 DG>>      default settings... Are there major benefits - besides fixing my
 DG>>      problem ;-) - to creating the forms myself?
 GW> Yes.  It speeds up application loading and uses a lot less resources, 
 GW> since only the active forms are loaded in memory at any time.
 I've took your advice and converted all the 50 odd forms so as not to be
 autocreated. I take it I need to put "Action:=caFree" in the OnClose
 event for the form? I've used FormVar:=TFormname.Create(Self) just
 before each FormVar.Show.
 Thanks a lot for that tip, it really does save a stack on load-time and
 resources. I'll assume that it fixes the original problem too ;-),
 because I've not have it since.
 Regards,
 Derek.
 dsg@dhours.overflow.com
.!. If you've seen one nuclear war, you've seen 'em all.
--- Terminate 4.00
---------------
* Origin: Darf ich ein Bier haben bitte? (2:253/417.10)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.