Author Topic: list of colors in custom properties  (Read 3724 times)

0 Members and 1 Guest are viewing this topic.

david

  • Full Member
  • ***
  • Posts: 101
list of colors in custom properties
« on: July 23, 2008, 04: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

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1718
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: list of colors in custom properties
« Reply #1 on: July 23, 2008, 07:39:43 AM »
Hi David,

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

Text box
Fixed list drop-down
Editable list drop-down
Calendar
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

david

  • Full Member
  • ***
  • Posts: 101
Re: list of colors in custom properties
« Reply #2 on: July 23, 2008, 08:10:42 AM »
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?

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1718
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: list of colors in custom properties
« Reply #3 on: July 23, 2008, 10:22:41 AM »
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.
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

mmulvenna

  • Full Member
  • ***
  • Posts: 91
Re: list of colors in custom properties
« Reply #4 on: August 24, 2008, 04: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

Be sure to scroll all the way down the posts to get the attachments.
« Last Edit: August 24, 2008, 04:18:31 PM by mmulvenna »