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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...