DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3

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

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links