Jump to content

How to create and show new form in run-time?


elGringo

Recommended Posts

Dear all, i think it must be simple question, but anyway i cannot do that in UniGui.

Normally in delphi i do this in the following way

 

SomeForm:=TSomeForm.create(self);

SomeForm.Show;

 

but in UniGui it doesn't work... nothing happens... new Uniform doesn't show

 

So, please show me how to do that with UniForm

 

Regards,

Link to comment
Share on other sites

Found decision in demo 

C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\Form Callback

 

but for the form that i call from the main form...

 

is the name of subForm should be the same as typeName in it's Unit?

 

When i change the Name it shows mistake...

 

post-2378-0-76174000-1445463436_thumb.jpg

Link to comment
Share on other sites

  • Administrators

Dear all, i think it must be simple question, but anyway i cannot do that in UniGui.

Normally in delphi i do this in the following way

 

SomeForm:=TSomeForm.create(self);

SomeForm.Show;

 

but in UniGui it doesn't work... nothing happens... new Uniform doesn't show

 

So, please show me how to do that with UniForm

 

Regards,

 

Form Owner must be UniApplication.

Link to comment
Share on other sites

  • Administrators

Found decision in demo 

C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\Form Callback

 

but for the form that i call from the main form...

 

is the name of subForm should be the same as typeName in it's Unit?

 

When i change the Name it shows mistake...

 

In Trial Edition Form caption can not be changed.

Link to comment
Share on other sites

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...