Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the value of colordialog
Message
From
16/05/2004 12:53:53
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
How to get the value of colordialog
Miscellaneous
Thread ID:
00904449
Message ID:
00904449
Views:
52
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
Map
View

Click here to load this message in the networking platform