how to make a shapetext editable

K

Kurt

Hi

i tried to change the text of a shape with the following statements

.....
If vsoShape.IsOpenForTextEdit = True The
vsoShape.Text = 'test
End I
......

Some shape-texts are always editable (for example UML-Actor), others never (for example UML-UseCase). The same behaving occurs when i use the character-property instead of the text-property

1. Why

2. How can i make a shapetext editable

thanx
 
M

Markus Breugst

Hello Kurt,

Inside the ShapeSheet, the "LockTextEdit" cell is set to 1.
But this has a reason. The shapes of the UML AddOn have additional
capabilities and behavior that you should not modify. Otherwise, the shapes
may not work as they should.
2. How can i make a shapetext editable ?

Set the "LockTextEdit" cell to 0, but have in mind that the AddOn may not
work properly anymore.

Best regards,
Markus

Kurt said:
Hi,

i tried to change the text of a shape with the following statements:

.....
If vsoShape.IsOpenForTextEdit = True Then
vsoShape.Text = 'test'
End If
.....

Some shape-texts are always editable (for example UML-Actor), others
never (for example UML-UseCase). The same behaving occurs when i use the
character-property instead of the text-property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top