|
-
Jun 30th, 2003, 08:29 AM
#1
Thread Starter
Lively Member
Hex Colours in .net ??? (Sorted)
i need to set the colour of a menu to this style but when i create the style it needs to be in .net not in a style sheet as they are generated @ runtime ... but how do i add hex values in vb.net ?
the following don't work 
MyStyle.BackColor = Color.FromName()
MyStyle.BackColor = Color.FromArgb()
MyStyle.BackColor = Color.FromKnownColor
do i need to setup a colour object ??
many thanks
john
Last edited by OptimusPrime; Jun 30th, 2003 at 09:26 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|