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)
|