Jump to content

Recommended Posts

Posted

It should be free form, because you should not use the function "MyForm" generated in application form. This function handles (creates and destroys automaticly) only one instance per session.

Posted

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.

Posted

 

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'

Posted

Hi.

 

xxf:Tffilter, raises a compilation error. Tffilter is not defined.

 

Tha option that works for me is:

 

xxf: TUniForm

and

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

 

Thanks to all.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...