Hi,
I am trying to design an Action Menu to allow me to change between 5 shapes using Shapesheet.
I am stuck at the moment.
I appreciate some advice.
Thank you in advance for your time.
That's quite a vague problem.
I am trying to create an action menu whereby I can change between 5 shapes.
triangle
square
pentagon
hexagon
heptagon
What I try to create:
1) right click on triangle
2) a menu pop up showing
triangle
square
pentagon
hexagon
heptagon
-------------------
Show shapesheet
3) select square
4) triangle disappear. Square should appear. However, what I ended up with was both triangle and square remained. I need to right click on the shape again to select triangle to get it to disappear.
I am trying to use only the shapesheet to make it happen.
Please advise.
1: All shapes in 1 group
2: Actions at group level
create user cell "user.trigger" value = 0
for square action setf(getf(user.trigger),1)
for circle action setf(getf(user.trigger),2)
etc.
3: In each child shape, go to geometry noshow cell
for square no show if(<parent>!user.trigger <>1, true,false)
for circle no show if (<parent>!user.trigger <> 2, true, false)
You may want to debug by echo the user.trigger in group shape
insert ==> field==> user cells ==>user.trigger
remove when working.
See my attachment under the thread "same text in multiple shapes"
posted last day or so.
Thanks very much Vojo. It worked. :)