Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Container and GetFocus

Status
Not open for further replies.

Toyman

Programmer
Jun 19, 2001
68
GB
How do I get my Container Control to fire it's GetFocus Event when a control (A User has placed on it), gets focus.
 
One way....

If Picture1 is container and Text1 is child then

in Text1_GotFocus Event add

Picture1_GotFocus



 
Thanks jjames

Currently I'am doing this. The problem is that when I add some controls I forget to add the code into the child GotFocus Event. This makes debugging a nighmare. So I thought this could be done without adding any code (On the child control any way).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top