Jump to content

How to change Parent Property of a uniGUI Component?


CiceroBillo

Recommended Posts

Hi!

 

I'm trying to change Parent Property of a component, but this seems don't work.

 

I've created a ComponentEditor and in the Context Menu There's a item that call a Form Configuration.

With this form I can do some operations that work fine.

 

What I need is to use ClipBoard.SetComponent Method to Copy and Paste (ClipBoard.GetComponent) in code.

Copy and Paste use same routine in IDE Editor/FormEditor and work fine.

When I invoke ClipBoard.SetComponent(aComponent: TComponent) an AV occurs.

Maybe I missing something?

 

Can anyone help me, please?

 

TIA

Link to comment
Share on other sites

  • CiceroBillo changed the title to How to change Parent Property of a uniGUI Component?
8 hours ago, Sherzod said:

You can use ClipBoard on the client side, but as I said above, you cannot use, specifically the ClipBrd module.

Please use the search on the forum.

As I said before, I'm using in a Component Editor inside Delphi IDE, then I think I can use ClipBoard module, but I don't need it anymore. I'm using TypeCast to get/set the parent of TuniControl(Component).

 

Thanks anyway.

Link to comment
Share on other sites

17 minutes ago, CiceroBillo said:

As I said before, I'm using in a Component Editor inside Delphi IDE, then I think I can use ClipBoard module, but I don't need it anymore. I'm using TypeCast to get/set the parent of TuniControl(Component).

Forgive me then, your case is not clear to me.

Link to comment
Share on other sites

26 minutes ago, markokas said:

Beacuse, clipboard is on server side - VCL way.

You are on Client side -  browser, only with JS could be possible.

Br, Marko

I'm not using in an application. It's used at Design-time with Component Editor (Delphi IDE) to change the Parent to a uniContainerPanel component or another container when the components need to be grouped.

 

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