September 8th, 2004, 01:55 PM
Take the code that is in the ButtonClick event handler for that button and put it into the FormCreate event handler instead. Alternatively, you can call the ButtonClick event from FormCreate event handler:
procedure TForm1.FormCreate(Sender: TObject);
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne