Custom Properties Ask Items don't when dropped via VBA

G

googull

When I drop a shape on the page in Visio it pop up a dialog with the "ASK"
items. But when I duplicate the shape, or drop a new instance of its
mastershape on the page using VBA the ASK dialog box is not displayed. I've
checked the screenupdate and showchanges properties with no success. What
must I do to get the Custom Properties ASK items dialog box to pop when
programmatically dropping shapes?

thanks
 
J

junethesecond

I found I did not know about Ask cell.
If you put "DoCmd(1312)" in the EventDrop cell, the dialog will pop up,
even if master dorpped or duplicated in VBA Program.
The difference between Ask cell and EventDrop cell is quite interesting to
me.
 
D

dave

Hi Junethesecond

I've tried the eventdrop =docmd(1312) for a shape within a master. It
doesn't work on nested shapes.
Dave
 
J

junethesecond

The former post on this forum, "My Shapes won't answer the call!,
discussing the theme you are thinking.
 
G

googull

I share your intrigue between AskCell and Eventdrop. Using docmd(1312)
invokes the dialog as desired but it exposes ALL the custom properties
instead of only those that are tagged as "ask on drop". Any idea on how to
confine to only show those properties tagged as such?
 

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