Results 1 to 2 of 2

Thread: Why do I get different values for the color everytime? ("Point" method)

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 1999
    Posts
    2

    Post

    This has happened to me a lot, in several different ways, but basically (in this case)
    using a map, where States are a solid color, and reading the cursor position in the mousemove event... then doing
    picture1.point (x,y) to get the color. (long integer) Same picture, same program, everything, but different values on each machine!!! why? How do I prevent that?
    I have a big case statement as such...

    select case lReturnedColor
    case 78346
    form1.caption = "Texas"
    case 83988
    form1.caption = "Minnesota"

    End Select

    You get the picture...


  2. #2
    Junior Member
    Join Date
    Jan 1999
    Posts
    30

    Post

    I'm not sure, but I might have something to do with how many colors the screen shows. Check if both computers use the same color-settings. Allso try with system-colors.

    Mail me at [email protected] if there was something that you didn't understand.

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