Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
Is there a simple way to detect when a control or any of its contained controls gets focus? I could loop through all of the parent control's contained controls and add a handler for the getfocus event of each of them and also for the parent control, but I would have imagined that there might be an easier way. Some sort of FocusPreview property of the parent control? I can't see anything.
Posted
Ah, the Enter event. Does the trick for user controls and panels, but for some reason the picture box doesn't have this event. No problem, I really want it for a user control.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...