How to duplicate an object at runtime - Forum

Forum Navigation
You need to log in to create posts and topics.

How to duplicate an object at runtime

I'm looking for a command similar to the web version's "DuplicateObject"

Is there any plugin/method that I can use to achieve this?

Sorry, I think that's not possible in VisualNEO Win.
Regards.

SmnMhmdy has reacted to this post.
SmnMhmdy

@smnmhmdy

In most cases, it is enough to prepare the necessary objects in advance. You can keep them off the page and show only when a new object is required.

SmnMhmdy has reacted to this post.
SmnMhmdy

Thank you  @luishp @Vadim

@vadim

Yes but in this case, I need to generate an unknown amount of objects based on the user's input. I could have like 10 premade objects on the page and cycle the instructions through them but that still counts as 10 objects per page limitation on the user's side.

Hello,

For what kind of objects you are looking for?

Standard user Interface elements?

Or custom drawn Buttons?

Different otions:

You may us a Bitmap plugin and draw a button and check for clicking.

You may use the web object with a html user Interface.

You may have a look at the pdscript plugin to dynamicly create a user Interface:

https://www.hpwsoft.de/anmeldung/html1/neobook/neobook25.html

http://www.be-precision.com/products/pdScript/

Regards

Hans-Peter

 

Vadim has reacted to this post.
Vadim

Thank you @hpw I think I'll go with pdScript because it seems like what I've been looking for. Although I'm not sure where to start learning about it.

Hello,

You may hve a look at the plugin demo pub to see which sources are use to generate the demos.

For more complex GUI it may be better to have a look at the pdscript IDE. It come in different license flavours and has a help doc for the Syntax for gui Definition and code. pdscript is closer to an Delphi development system.

Regards

Hans-Peter