Help: Text postions in smartshapes

Started by ivan, April 05, 2009, 02:32:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ivan

I've got some truobles positioning text in complicated smartshapes. see example.
smartshape is a group. there's shape data asigned for this group and there're controls in group's shape sheet to position text.
shapes inside have text fields that i want to position at controls coords. Most of the time it works well, but sometimes there're troubles i can't understand or solve.
In the posted example i can't move "Ss" (10-j5) and "Sn" (10-j5.6) text fields. when i moved controls asigned with them i got very starange behavior. what's wrong ? what was my mistake ?

JuneTheSecond

#1
Hi,

Use LOC function for TextPinX and TextPinY
for example,
TextPinX=LOC(PNT(Sheet.1!Controls.Sn,Sheet.1!Controls.Sn.Y))

Best Regards,

Junichi Yoda
http://june.minibird.jp/

ivan

Quote from: JuneTheSecond on April 05, 2009, 05:05:03 PMTextPinX=LOC(PNT(Sheet.1!Controls.Sn,Sheet.1!Controls.Sn.Y))
works great. thanks.