by J.J. Dobson (1 Submission)
Category: Graphics
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 13th May 2010
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Displays color selection dialog. Using Custom Colors choose from 16,000,000 colors and it displays the Hex value to use in the VB foreground
API Declarations
Dim S As String
CommonDialog1.ShowColor
C = CommonDialog1.Color
S = Hex(C)
While Len(S) < 6
S = "0" + S
Wend
S = "&H00" + S + "&"
Form1.BackColor = C
Text1.Text = S
End Sub
No comments have been posted about Displays color selection dialog. Using Custom Colors choose from 16,000,000 colors and it displays . Why not be the first to post a comment about Displays color selection dialog. Using Custom Colors choose from 16,000,000 colors and it displays .