I know it may be a dumb question.
I have a main form that has all my variables and function.
I have a button on the form that open another form like that:
ProcessF := TProcessF.Create ( Self );
try
if ProcessF.ShowModal = mrOk then
begin
{}
end;
finally
{}
end;
In the processF forma, i would like to use a couple of variables and one function declared in the main form. Is that possible or do I need to re enter the function and variables?
I do have a uses syntax that calls the main form inside ProcessF.
Thanks.
Pierre
I have a main form that has all my variables and function.
I have a button on the form that open another form like that:
ProcessF := TProcessF.Create ( Self );
try
if ProcessF.ShowModal = mrOk then
begin
{}
end;
finally
{}
end;
In the processF forma, i would like to use a couple of variables and one function declared in the main form. Is that possible or do I need to re enter the function and variables?
I do have a uses syntax that calls the main form inside ProcessF.
Thanks.
Pierre