Visio Guy

Visio Discussions => ShapeSheet & Smart Shapes => Topic started by: david on July 23, 2008, 09:40:38 AM

Title: list of colors in custom properties
Post by: david on July 23, 2008, 09:40:38 AM
is there a way to choose a color for a shape by a list of colors in the custom properties?  i don't mean a list of strings like "red", "green", etc.  i mean that you can actually see the colors and choose whichever color you want.

for now, in my custom properties in the color option, the user should type a number in order to get the desired color (0 for black, 1 for white etc...)

thanks
David
Title: Re: list of colors in custom properties
Post by: Visio Guy on July 23, 2008, 12:39:43 PM
Hi David,

There's no color picker option. The only control "choices" are:

Text box
Fixed list drop-down
Editable list drop-down
Calendar
Title: Re: list of colors in custom properties
Post by: david on July 23, 2008, 01:10:42 PM
but there is a fill color button in visio.

is it possible to get from the custom properties the same window you get by clicking the fill color button?
Title: Re: list of colors in custom properties
Post by: Visio Guy on July 23, 2008, 03:22:41 PM
Nope, not without some very bad, hacky work-arounds that probably aren't worth the trouble.

But you can create a right-mouse menu item (Actions section in ShapeSheet) that calls the Fill dialog using the DOCMD function.
Title: Re: list of colors in custom properties
Post by: mmulvenna on August 24, 2008, 09:15:05 PM
Here is a way to do it with VBA I posted this a while back and use it extensively.
http://visguy.com/vgforum/index.php?topic=84.0 (http://visguy.com/vgforum/index.php?topic=84.0)

Be sure to scroll all the way down the posts to get the attachments.