September 8th, 2004, 10:36 AM
How I Activate A Button By Default???
My question is simple(I think!); I have an application that makes a remote connection by clicking a button on the form: How I can do the connection automatic (without clicking the button??)???
September 8th, 2004, 12: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
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
September 9th, 2004, 08:41 AM
Thank You 'Scorpions4ever'!!
You solved my trouble!!
Thank You Again!!