Results 1 to 3 of 3

Thread: ShowDialog in MDI forms

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2006
    Posts
    91

    ShowDialog in MDI forms

    Hai

    i like to get the functionality of ShowDialog in MDI forms. Until i close the child form that opened , i should not able to select parent form

    In normal forms i can approach this with ShowDialog property.But this is not working in MDI forms


    Please suggest if there are any


    Thanks and Regards
    Vinay Kumar

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: ShowDialog in MDI forms

    That is not the way an MDI interface is supposed to work and it doesn't really make sense. If you don't want the parent to be accessible then why use MDI at all?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2006
    Posts
    91

    Re: ShowDialog in MDI forms

    i want to display a single instance of the child forms. Like if i am using normal forms then i am getting two instances for the 2 forms displayed in the task bar.

    i should like to have a application in such a way one instance should be displayed on the task bar like MDI (Dont want to use ShowInTaskBar=false)



    Thanks and Regards
    Vinay Kumar

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