Jump to content

clone form


jahlxx

Recommended Posts

ok.

 

I do:

 

xxf: TUniForm;

xxf:= Tffilter.Create(uniApplication);

xxf.Show;

 

this creates the clone ok.

 

And in the form that creates the clone, I do;

 

xxf.edit1.text := 'xxxxx';

 

this sentence, raises a compilation error; undeclared identifier edit1.

 

any idea?

 

thanks.

Link to comment
Share on other sites

 

xxf: TUniForm;

...

xxf.edit1.text := 'xxxxx';

 

this sentence, raises a compilation error; undeclared identifier edit1.

 

any idea?

 

 

xxf is TUniForm and TUniForm has no edit1:

 

(1) XXF: Tffilter;

 

or

 

(2) (xff as tffilter).edit1.text := 'xxxxx'

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...