Make Fixed or Variable List into multiple-select?

P

pt

If, under a master's "Custom Properties", I have a property "Role",
which is either a "Fixed List" or "Variable List", how can I make it a
multi-select?

I want a way for a user to associate one or more pre-defined Roles
with a shape -- which is basically a dynamic connector which I've
copied to my "Action" master.

TIA.
 
C

Chris Roth [ Visio MVP ]

There's no built-in way to do multi-select.

You could have multiple properties (Role1, Role2, Role3) and concatanate the
values into a single string. As long as it makes sense for you to have a
maximum number of roles.

Visio 2003 has a Find function, so you could change the look of your shape
if a particular substring is found in the Role1Role2Role3 end value.

Also, Lookup and Index functions are good for dealing with items in lists
(separated by ";")

If none of these hacks work, you can always go to automation and build a
custom dialog box with a multi-select list. You can still store the value in
a custom property Value cell, and store the list in the custom propertie's
Format cell.

--

Hope this helps,

Chris Roth
Visio MVP
 
P

pt

Chris Roth said:
There's no built-in way to do multi-select.

You could have multiple properties (Role1, Role2, Role3) and concatanate the
values into a single string. As long as it makes sense for you to have a
maximum number of roles.

Visio 2003 has a Find function, so you could change the look of your shape
if a particular substring is found in the Role1Role2Role3 end value.

Also, Lookup and Index functions are good for dealing with items in lists
(separated by ";")

If none of these hacks work, you can always go to automation and build a
custom dialog box with a multi-select list. You can still store the value in
a custom property Value cell, and store the list in the custom propertie's
Format cell.

My brain hurts too much, so I'm looking for an easy solution ....

Thanks anywho.
--

Hope this helps,

Chris Roth
Visio MVP


"pt" <[email protected]> wrote in message
[snip]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top