Results 1 to 7 of 7

Thread: Color picker pallete

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2008
    Posts
    11

    Color picker pallete

    Hi All,

    Is there any built in control or 3rd party control for color picking. Something like a pallete in windows, forms, properties where we choose color from a pallete .

    Thanks.

  2. #2
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Re: Color picker pallete

    The Common Dialog Control has a colour picker (.ShowColor)

  3. #3
    PowerPoster isnoend07's Avatar
    Join Date
    Feb 2007
    Posts
    3,237

    Re: Color picker pallete

    Try this control:
    from http://vbnet.mvps.org/index.html?cod...rcustomize.htm
    You can place the dialog in the center of the screen instead of the top left cornor
    Waiting for a full featured smart phone with out marrying a provider
    Go Android
    Go raiders

  4. #4
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Color picker pallete

    In addition to those, there are a lot of other ones:
    http://pscode.com/vb/scripts/BrowseC...1=Quick+Search

    Common Dialog Control usually works good enough though.

  5. #5

    Thread Starter
    New Member
    Join Date
    Feb 2008
    Posts
    11

    Re: Color picker pallete

    Thanks to all of you for replies.
    I tried common dialog control and on form load set its property (.showcolor)
    but i didnt see any color pallete displayed on run time. Have i missed something ?

  6. #6
    Cumbrian Milk's Avatar
    Join Date
    Jan 2007
    Location
    0xDEADBEEF
    Posts
    2,448

    Re: Color picker pallete

    It's a method not a property
    Code:
    With CommonDialog1
        .ShowColor 'Opens a colour dialog
        Debug.Print .Color
    End With

  7. #7
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Color picker pallete

    And if you use this to change the color of something on your screen please bare in mind that the next time your program runs whatever you changed will revert to its original color unless the color change you made is saved externally, and then read back in and applied when your program runs.

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