Container duplication - Forum

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

Container duplication

Hi,

I have a container that contain another container,

when we duplicated this container, we can  bring any change to the parent container,

My question is this how can we bring changes to the child container?

 

Uploaded files:
  • You need to login to have access to uploads.

@asmat, although it's possible to duplicate child Containers they are not independent from their original objects.
That means, using a command like this one will change both child Containers background color at the same time:

SetObjectStyle "Container2" "background-color" "#CC0039"

Unfortunately I don't see an easy way to solve this.

asmat has reacted to this post.
asmat

Hi luishp,

i am trying to find a way for creating a collection of items with deriving one item by using duplicate command.

please see the below attachment,

I have trying to implemented the below task, just with single container and array.

It would be possible?

Uploaded files:
  • You need to login to have access to uploads.

Hi @asmat,

Your best bet is using plain HTML instead of VisualNEO Web Objects.
Please take a look at the attached sample. I have added two buttons with the same method in NeoScript and JavaScript.

Uploaded files:
  • You need to login to have access to uploads.
asmat has reacted to this post.
asmat