Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I just would like to know if it is possible to set a condition to define the X-pos and Y-pos of an object ?
I haven't been able to find it anywhere..
Thanks,
Matthieu JUNIER
Matthieu
No, I am afraid it is not possible.
Best Regards, Bill
Closest you can get to this is to have duplicate objects and then show/hide them in the different positions based on the condition. This might get very confusing if you are trying to make lots of position changes.
hi,
You can do this by two ways:
1. Use two objects and show/hide logic.
2. Use macro to achieve this . (It won't run on ajax).
For example macro for increasing the size of object
sub cin
set obj = ActiveDocument.GetSheetObject("CH09")
set fr = obj.GetFrameDef
set pos = fr.Rect
pos.Width = pos.Width * 1.1
pos.Height = pos.height * 1.1
obj.SetFrame fr,true,dummy
End sub
Ok, I think I'll go with the show/hide logic for now.
Thank you all !