Making a list of strings appear beside it when a shape is clicked

Started by aido97, February 05, 2018, 04:40:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aido97

Hi,
I am new to visio, and am using it in my job. My boss wants me to make a diagram of rectangular shapes and when they are clicked a dropdown list will display beside it with a list of values. How would I go about doing this. I already have all the shapes but need to figure out how to make the lists appear.
Thanks very much
Aidan

vojo

here is a non VBA approach
- in shapesheet...eventdoubleclk = docmd(1312)
- use shape data (props section shape sheet) to define the fields to show
    - can have a lot and use formulas in the hide cells
    - If you want to get slick, can do hierarchy (1st drop down defines the subset to see....2nd drop down defines details of subset)

suggestions
- start small
    - make a square
         - open shapesheet...set eventdouble click...maybe define a prop.cell or 2
    - make sure it works / play around with it.
- Then go large

Blade example attached

Good luck

Browser ID: smf (possibly_robot)
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: 149 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1051KB.
Tokens: post-login.
Cache hits: 13: 0.00163s for 26,612 bytes (show)
Cache misses: 2: (show)
Queries used: 15.

[Show Queries]