CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2015
    Posts
    1

    How to Determine the Active Form

    I have a group box to which I add forms, I have observed that the Activate event of these forms do not trigger whenever any of the forms is clicked. If I have more than one form added to the group box, how do I determine which is the active form, by active form I mean, the form with the focus?

  2. #2
    Join Date
    May 2002
    Posts
    511

    Re: How to Determine the Active Form

    Try the Form Class GotFocus event. You could also try the Form Class ActiveForm property.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured