G
Guest
Hello All,
While it seems like it should be simple, I am having a problem finding an
answer for this one...
I am building a control where I want one property to be a color. I want the
property to work exactly as any other color property for the standard
controls. That is, I want to be able to put a color name (Red) or HTML/style
string (#FF0000) into the box, and have it persisted that way.
I want the property return type to be Color (rather than, say, string), so
the user can take advantage of using the standard Color pulldowns in the
Properties browser.
Please, show me that it's as simple as it sounds, and I'm just overlooking
something stupid....
Thanks,
PAGates
While it seems like it should be simple, I am having a problem finding an
answer for this one...
I am building a control where I want one property to be a color. I want the
property to work exactly as any other color property for the standard
controls. That is, I want to be able to put a color name (Red) or HTML/style
string (#FF0000) into the box, and have it persisted that way.
I want the property return type to be Color (rather than, say, string), so
the user can take advantage of using the standard Color pulldowns in the
Properties browser.
Please, show me that it's as simple as it sounds, and I'm just overlooking
something stupid....
Thanks,
PAGates