Controlling the display of the Shape Data window from VBA procedure

Started by asardinas, November 20, 2012, 08:40:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

asardinas

New to Visio..

I would like to control the display of the shape data window from a double click

I was trying to drive a VBA procedure from the EventDblClick from the shape sheet but I can not get the shape data window to appear

Any help would be appreciated

Jumpy

The ShapeDataWindow or the ShapeDataDialog? For the last place =DOCMD(1312) in DblClickCell.

asardinas

I can use the DoCmd(1312) to bring up the  ShapeDataDialog but the behavior is different from the The ShapeDataWindow. The hide/view actions do not work from the ShapeDataDialog but do when the ShapeDataWindow is used

charlykuntz

For the shape data window it's :

Application.DoCmd(1658)

As an alternative you can interate through the Application.Window.Windows collection, look for the shape data window and toggle its visibility.

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 179 (show)
Files included: 34 - 1321KB. (show)
Memory used: 1092KB.
Tokens: post-login.
Cache hits: 12: 0.00180s for 26,582 bytes (show)
Cache misses: 1: (show)
Queries used: 15.

[Show Queries]