Link to home
Start Free TrialLog in
Avatar of NerdsOfTech
NerdsOfTechFlag for United States of America

asked on

Visual Basic 2008 Color Dropdown Part 2

Idle_Mind helped in creating a very nice color dropdown (Previous Linked Q). Now I am looking to get as close as possible to Visual Basic 2008 color dropdown control. How would I be able to create this?

Is it possible to have tabs in a dropdown like this or is MS using a special type of control?

Please include entire project code including form1 and a screenshot of the solution
color.jpg
webcolor.jpg
systemcolor.jpg
ColorDropDown.jpg
Avatar of NerdsOfTech
NerdsOfTech
Flag of United States of America image

ASKER

Is this dropdown just a small form (without boarders, close buttons, etc) with tabs that appears below the dropdown until the user unfocuses the dropdown OR chooses a color from this form?
Exactly...the color lists on the 2nd and 3rd tabs are probably ListBoxes.    =)

What's the chances of coding this one out?

With an onclick event for the dropdown -> open a form underneth (could you make this a usercontrol; if you say had 2 dropdown color pickers and needed the same form / reuse / recycle?) -> select color...

I would love to see the code and a screenshot

:)

=NerdsOfTech

I'll see what I can whip up...though I'm really not sure what to do about that First Tab labeled "Custom"...

What to do with this tab?

CustomColorTab.jpg
Use labels with sunken borders? Not sure either. Use your creativity!
No, no...  =)
(The control used doesn't matter...lots of ideas for that!)

What I mean is I have no idea where those colors are coming from.  Not sure if they come from some other dialog that I'm not aware of and they change whenever that one is changed.  I don't see anyway to modify those colors either...

I suppose I could grab the RGB Color Values using a screen scraper type tool and hard-code those colors in there?
Hmmm....the columns, with the exception of the first one, look like they might be a hard-coded selection of colors based on the ROYGBIV acrononym: Red, Orange, Yellow, Green, Blue, Indigo, Violet
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Great intelligence and remarkable abilities in Visual Basic 2008! You show an exceptional natural capacity in the production of concepts into working, living applications. You are gifted and I thank you again for your assistance. Genius!