What is &HFF00& represent in VB?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: What is &HFF00& represent in VB?

Hybrid View

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    What is &HFF00& represent in VB?

    [Originally posted by Stan]

    There is this line of code i don't understand, pls help..

    If Point(x,y) = &HFF00& Then....

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    Re:What is &HFF00& represent in VB?

    [Originally posted by Lossanarch]

    &HFF00& is a hex address in the code in the computers memory...

    but i cant really tell u what that line does without more info...
    basically it says is 'if that address is at that point then do such and such.'

    sorry i cant be more helpful :)

    -Loss

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:What is &HFF00& represent in VB?

    [Originally posted by Greg DeBacker]

    The Point function returns the color, in a Hex format, of the Pixel located at X, Y. &HFF00& is one way to represent a color. To see what this color is you can set the forms BackColor property to that value.

    Put this in you form load event
    Me.BackColor = &HFF00&
    Refresh

    Greg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center