TIP: Click on subject to list as thread! ANSI
echo: delphi
to: BRAD CLARKE
from: GARY WEINFURTHER
date: 1996-10-16 09:07:00
subject: Sub Main Equivelent

Brad Clarke mentioned this to All:
 BC> In my VB program, I use a "Sub Main()" as the first set of code to be
 BC> executed before the screen is displayed.
 BC> Is there an equivelent in Delphi, or should I place this code in the
 BC> FormShow event of my main form?
You can put one-time startup code in the main form's OnCreate or OnShow 
events, or in the initialization section of any unit.
                                ...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS, Farmington Hills, MI, USA. (1:2410/905)

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™.