Jump to content

Is this bug?


Recommended Posts

I test in trail version 1321.

Open new uni project then add new uniform. On new form's unit's public section, add procedure example name 'test;' and add just remark on procedure body, so compiler not remove empty body. Then add unibutton on main form and add this code to onclick event " UniForm1.Test;"

and now test application on runtime. when you click to button on main form, UniForm1 showing ???? why ? there is no code for show command. there is no any code that procedure body ???

and try tis code as well:

procedure TUniForm1.test;

UniForm1 not hide, its showing :)

is this bug ? or whats wrong?


Link to comment
Share on other sites

Okey, I need to useto work with in framework.

How to work with not showed uniform?

I got unitreeview, panels, scroolbox and many checkbox. All of them createing in runtime ('cos read from db) this form setting some parameter for my application, how to do create and set values without show form? All components is visual and this mean have to use "uniform" class for parent?

what is yours suggesstions?

Link to comment
Share on other sites

  • Administrators

You just need to create them with an Owner which should be a Form/Frame and insert them into some parent. Of course, owner form must be shown right after everything is created and in place.


Difference from VCL is that In uniGUI you must show a form after it is created. You can not create and keep it hidden.

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.

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