Results 1 to 5 of 5

Thread: Hex Colours in .net ??? (Sorted)

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2002
    Location
    Outer space
    Posts
    97

    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
  •  



Click Here to Expand Forum to Full Width