I have a label that is controlled by a key press, and i need to check when that key is pressed if there is another label in that same location. What would be the best way to do this?
u can probably loop through the controls collection of the object in question (form, panel what have you) and check for control of type label with the name different that that of your main label and go from there.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.