Author Topic: Shape Data Dialog does not open when page added via Drop function  (Read 235 times)

0 Members and 1 Guest are viewing this topic.

ImAPictureFormat

  • Jr. Member
  • **
  • Posts: 17
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
Code
' 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
« Last Edit: January 29, 2020, 01:04:15 PM by ImAPictureFormat »