
custom properties when adding a shape
Melanie,
To answer your first question, I did it by selecting the shape and using the
DoCmd method, like this:
Visio.Application.ActiveWindow.Select theShape, 2
On Error Resume Next
Visio.Application.DoCmd (visCmdFormatCustPropEdit)
The "On Error" line seemed to fix the problem of the user not entering
anything in the Custom Properties window. Hope this helps - I can't answer
your second question though.
Leon
Quote:
>Hi, two questions for you !
>first, When I create a form and I put it in my own stencil, is it
>possible to make appears the custom properties window, for me to fill
>the answer on the adding of the shape ?
>second, when I choose the process in the Flowchart stencil, is it
>possible to add the display of a custom properties on it ?
>thanks,
>Melanie.
>Sent via Deja.com http://www.deja.com/
>Before you buy.