
May 18th, 2004, 12:09 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
One way is to have global variables that you set. Another way is to create the form, set the variables and then call an update function to update controls on the form as required.
Code:
var
frm2: TForm2;
begin
frm2 := TForm2.Create(self);
frm2.x := 23;
frm2.s := 'Hello World';
frm2.UpdateControls;
end;
__________________
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
|