TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Craig
NA
1
0
Changing backcolor or brightness
Apr 8 2010 5:20 PM
Ok, now that I have the color chosen from the ColorDialog and it has been applied to the forms, how do I get a color that is slightly darker (if a lighter color was chosen) or slightly lighter (if a darker color was chosen) for the various backcolors? i.e. if somebody chose blue, I want to automatically change the various backcolors to light blue so that the textboxes, listboxes, etc stand out more. This is a tall order and I greatly appreciate any help on this! Or better yet, just change the brightness, if that's possible?!
Here's the code for the dialog:
Dim mycol
cdlg.ShowDialog()
mycol = cdlg.Color
Me.BackColor = mycol
FontStylesAndSizes.BackColor = mycol
Reply
Answers (
0
)
Big VB project, help!!
Visual Basic 2008 RDLC report