I'd like to add a color palette to my form, so that the user can choose a color. How can I add such a palette to my form(with all the colors vb offers)?
plusplus
0
Posting Whiz in Training
Recommended Answers
Jump to PostHi,
Add this Control to ur ToolBox:
"Microsoft Commom Dialog Control 6.0" to ur Project. Place the Control on the Form and rename it as "cdlg"
and use this Code:Private Sub Command1_Click() Dim mycol cdlg.ShowColor mycol = cdlg.Color Me.BackColor = mycol End Sub
Regards
Veena
All 4 Replies
QVeen72
104
Posting Shark
plusplus
0
Posting Whiz in Training
QVeen72
104
Posting Shark
plusplus
0
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.