A
Andy
I have a shape, with a user defined cell that contains a string. The
shape is set to display this in its text field and the width of the
shape is controlled using the TEXTWIDTH of the string. The first time
the string in the user defined cell is changed, the width of the shape
is not changed and the text displays vertically with the width
remaining unchanged. Subsequent changes to the string cause the
TEXTWIDTH to behave as expected.
This works fine with Visio 2003.
This happens if a new shape is placed on a diagram or if being updated
by automation.
Any suggestions as I am replacing shapes via automation that have the
text strings copied across. However, all the text widths are then
wrong.
shape is set to display this in its text field and the width of the
shape is controlled using the TEXTWIDTH of the string. The first time
the string in the user defined cell is changed, the width of the shape
is not changed and the text displays vertically with the width
remaining unchanged. Subsequent changes to the string cause the
TEXTWIDTH to behave as expected.
This works fine with Visio 2003.
This happens if a new shape is placed on a diagram or if being updated
by automation.
Any suggestions as I am replacing shapes via automation that have the
text strings copied across. However, all the text widths are then
wrong.