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

Thread: Active forms

  1. #1
    Join Date
    Feb 1999
    Posts
    1

    Active forms



    I have a MDI-aplication and I wonder if anyone could tell me how to find out if there are any active forms.

  2. #2
    Join Date
    May 1999
    Location
    Oxford UK
    Posts
    1,459

    Re: Active forms



    Hi


    In your MDI form you can reference the current active child form with


    Screen.ActiveForm.


    eg.


    MsgBox Screen.ActiveForm.Caption


    Regards


    Chris Eastwood


    CodeGuru - the website for developers

    http://www.codeguru.com/vb

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