Thanks Jem... I've been working with stock colors, that I assign on the run, and have no idea how to get the RGB value of a stock color... I know the Alpha setting, but don't know the RGB value... Is there a way to extract that RGB from a standard color?
I don't know the stock constant values. They "might" be listed in a VB book or on google. I generally use the designer to tell me. I set a color, save the designer, and then close the designer. When you reopen the designer and lod that layout, the color is in rgb format. It would be nice to have a list of the color constants.
Thanks again Jem... The problem is that I'm letting the user select a background color from the ColorPicker dialog, and I don't know what it'll be... I've got to somehow get that value, or create a new color picker dialog of my own so I actually get the RGB values...
I see. I generally just use the colordialog from the dialogs library and let the user mix their own colors. Not as easy for the user, but much easier for me since it gives the rgb values.
Tried it... Fine in portrait, 1 color bar cut off/missing in landscape. Maybe that's why I didn't use it at first... been working on this app for quite a while, and that was early on... I may have to make my own!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.