label key press?

Really420

New member
Joined
Jan 15, 2008
Messages
1
Programming Experience
1-3
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?
 
what do you mean same location?

same form? same panel? same container...?

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.
 
Back
Top