Jump to content

Recommended Posts

Posted

Hello there, I have a form that has controls created at runtime, if I run the project using the Standalone it works fine, but when I deploy it to Apache 32bits when I try to open the form I get an exception "Control '' has no parent Window"

 

Does anyone know what might it be?

 

Thank you.

 

 

Posted

In fact I created components but all of them Inherit from Unigui components, is there anything I should bear in mind when it comes to custom components? Like, events, references, etc..?

Posted

Solved it, the problem was not in my components, it was actually a function that I had in my legacy software that used a TLabel to get the Canvas.TextWidth to set the Width of some components, just replaced the TLabel for a TUniBitMap and it's working fine, thanks for the help.

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