map 0 top image  
skip navigation

Output dialog Visio add-on that can display text when a shape is double-clicked, dropped on a page, or duplicated

There is no built-in ability for Visio to display a text dialog box when a shape is double-clicked or dropped on a page. Just install this addon, then run the file "test.vsd".
As can be seen not only can text be displayed but you can also show any value(s) from the shape's shapesheet.
Nor is this dialog limited to the double-click event, it can also work on shape drop. Open the shape's shapesheet editor and put the formula in the cell EventDrop instead of EventDblClick.
You can also perform multiple events, say you want to give some instructions before opening one of the standard Visio dialogs. If also want to open the Fill dialog then you could use:
=RUNADDONWARGS("outputdialog", "Your instructions") + DoCmd(1066)
or
=DoCmd(1066) + RUNADDONWARGS("outputdialog", "Your comments")
if you want to display your text afterwards.

To insert a new line in the text use the text '\r' within your text string.

DescriptionFileVersionDateSizeDownload
Output Dialog for Visio outputdialog.msi 1.5 5th June 2015 1184kB Download now
This software is digitally signed.
This addon works with Visio 2003/2007/2010 and 2013.


output dialog example


Following a suggestion from a user here is another version, but this one uses a tool window. Install both!

DescriptionFileVersionDateSizeDownload
Output Dialog for Visio outputdialog2.msi 1.2 5th June 2015 1188kB Download now
This software is digitally signed.
This addon works with Visio 2003/2007/2010 and 2013.


output dialog example

Comments:

1. realname: Derek Crabbe
message: Visio 2010 Win7 32 bit

Hello,

When using the following:
=RUNADDONWARGS("outputdialog2","This shape's width")

Is there a way for the dialogue to appear as:
This
shape's
width

rather than wrap around text in the EventDblClick field?

How would one go about doing so?

Derek Crabbe




Reply 1: Hi Derek,
sorry, there is no way to do that at the moment, any control characters (like CR/LF) get ignored.
I'll see if I can do something about it.

Reply 2: Hi Derek,
This can now be done in both dialogs, just add the text '\r' where you want the new line.



Add comment on this article


filler Home filler | filler Site Map filler | filler Privacy Policy filler | filler Contact Us filler filler Find Us On Facebook filler  
Paul Herber, 6 Lockwood Close, Farnborough, Hampshire, GU14 9EH, United Kingdom.
Phone: 01252 668315 (Int. +44 1252 668315).
Copyright © 2002-2017 Paul Herber. All rights reserved.
Located in Farnborough, the home of UK aviation.