Shape Data Dialog does not open when page added via Drop function

Started by ImAPictureFormat, January 28, 2020, 10:48:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ImAPictureFormat

Hi,
I'm using Visio 2016. I have a function called "Insert_Below" in which I drop a master onto a page. I have an action setup on another shape that calls "Insert_Below" like so

' Shape - Action in shape sheet
CALLTHIS("ThisDocument.Insert_Below")

' In "Insert_Below"
Set newShp = pg.Drop(mstr, x, y)


Normally when I add a shape by dragging it over from the stencil, the Shape Data Dialog opens because I have a couple shape data fields set to ask on drop. But, when the action runs I do not get a shape data dialog for the shape that's added, "newShp" above.

Can I force the dialog to open for newShp in some way?

Thanks!

EDIT: Cross-posted on Stack Overflow: https://stackoverflow.com/questions/59970931/opening-shape-data-dialog-from-page-drop