General information
Title:
How to get the value of colordialog
Dear All,
I need to save value of colordialog to a table, how to get the value of it?
Dim MyDialog As New ColorDialog
' Keeps the user from selecting a custom color.
MyDialog.AllowFullOpen = False
' Allows the user to get help. (The default is false.)
MyDialog.ShowHelp = True
' Sets the initial color select to the current text color,
MyDialog.Color = LblPreviewColor.ForeColor
' Update the text box color if the user clicks OK
If (MyDialog.ShowDialog() = DialogResult.OK) Then
LblPreviewColor.ForeColor = MyDialog.Color
' HERE.. I need to get the value of MyDialog? .. After that I want to save it into a table ..
End If
I need advice .. many thanks in advance
Regards
Winanjaya
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only