Results 1 to 4 of 4

Thread: MDI Last Active Form

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2005
    Posts
    192

    MDI Last Active Form

    I have a MDI program. I want to have another form pop up in an MDI state.

    I want to have a form menu that will allow choices that will instantly affect the current mdichild. However when the form pops up while MDI Child = True it takes place of active form. Currently have it at False, and showintaskbar =false

    this somewhat gives the effect, but is it possible to keep track of what form last last accessed. Maybe use the tag property somehow? The Title of the form changes with the click of a treeview item, so if a person has multiple spawned views of that form then it would affect all forms that had that treeview. Not the effect I want.

    Is this possible or do I need to stick with my method?
    Thanks bunch.

  2. #2
    No place like 127.0.0.1 eyeRmonkey's Avatar
    Join Date
    Jul 2005
    Location
    Blissful Oblivion
    Posts
    2,306

    Re: MDI Last Active Form

    If I were you, I would just make the popup form not be an MDI child. Most windows like that (such a properties windows and find windows) are not MDI childs. Would that work for you?
    Visual Studio 2005 Professional Edition (.NET Framework 2.0)
    ~ VB .NET Links: Visual Basic 6 to .NET Function Equivalents (Thread) | Refactor! (White Paper) | Easy Control for Wizard Forms | Making A Proper UI For WinForms | Graphics & GDI+ Tutorial | Websites For Free Icons
    ~ QUOTE: Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rich Cook

    ~ eyeRmonkey.com

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Jun 2005
    Posts
    192

    Re: MDI Last Active Form

    yes that will be just fine I guess. Thanks for the help.

  4. #4
    No place like 127.0.0.1 eyeRmonkey's Avatar
    Join Date
    Jul 2005
    Location
    Blissful Oblivion
    Posts
    2,306

    Re: MDI Last Active Form

    No problem. I have ideas how to do it the original way if you are interested.
    Visual Studio 2005 Professional Edition (.NET Framework 2.0)
    ~ VB .NET Links: Visual Basic 6 to .NET Function Equivalents (Thread) | Refactor! (White Paper) | Easy Control for Wizard Forms | Making A Proper UI For WinForms | Graphics & GDI+ Tutorial | Websites For Free Icons
    ~ QUOTE: Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. -Rich Cook

    ~ eyeRmonkey.com

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