I have panels on the screen and when the user moves his finger over one of the panels, I'd like to draw a red rectangle around the panel to tell the user the panel is selected. This is easy enough to do with Panel1.Touch, but how do I erase the rectangle when the user moves to another panel?
In the good old days of Delphi I would draw 4 XOR lines in the shape of a rectangle on the object's canvas and when I want to remove it I would XOR it again with the background and the background returns to its original image. (An XOR of an XOR turns it back to the original value.)
What is the best way to do it in B4A?
TIA
Widget
In the good old days of Delphi I would draw 4 XOR lines in the shape of a rectangle on the object's canvas and when I want to remove it I would XOR it again with the background and the background returns to its original image. (An XOR of an XOR turns it back to the original value.)
What is the best way to do it in B4A?
TIA
Widget