W wdegler Active Member Licensed User Longtime User Mar 9, 2012 #1 I have two related questions: How can I write B4A code to 1. determine the coordinates of a touched pixel on the screen? 2. determine the pixel (its color) given its coordinates? These are essentially opposite operations. Any help will be greatly appreciated.
I have two related questions: How can I write B4A code to 1. determine the coordinates of a touched pixel on the screen? 2. determine the pixel (its color) given its coordinates? These are essentially opposite operations. Any help will be greatly appreciated.
NJDude Expert Licensed User Longtime User Mar 9, 2012 #2 I can help you with #1 (see attached project), the other one, I don't know if that's possible. Attachments TouchSample.zip 45.7 KB · Views: 296 Upvote 0
W wdegler Active Member Licensed User Longtime User Mar 9, 2012 #3 Thanks, NJDude Thanks. I have tried your sample app and find that it does exactly what I am looking for in question #1! Please let me know if you ever get a clue about #2. wdegler Upvote 0
Thanks, NJDude Thanks. I have tried your sample app and find that it does exactly what I am looking for in question #1! Please let me know if you ever get a clue about #2. wdegler
W wdegler Active Member Licensed User Longtime User Mar 11, 2012 #5 Found it! I found it, Jim. I have yet to try GetPixel. Thanks. Upvote 0