Disabling text entry in favor of a custom property

J

john o

I want to create a custom stencil that prompts the user for a label. In other words, I would like a string of text - entered by the user on 'drop' - to show up as a label below the object in the drawing. To prevent the user from entering text anywhere else, I would alos like to disable the text entry if/when a user clicks on the object.

Clear as mud

Thanks.
 
M

Mark Nelson [MS]

Here's a basic outline of the steps:
- Add a custom property to the shape for your label
- Set the Ask property of the custom property to True to prompt the user on
drop
- Insert a Text Field on the shape pointing to the custom property
- Protect the shape from text editing

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.


john o said:
I want to create a custom stencil that prompts the user for a label. In
other words, I would like a string of text - entered by the user on 'drop' -
to show up as a label below the object in the drawing. To prevent the user
from entering text anywhere else, I would alos like to disable the text
entry if/when a user clicks on the object.
 

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