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

Thread: Modal Forms

  1. #1
    Join Date
    Jan 2000
    Location
    Krasnoyarsk, Russia
    Posts
    12

    Modal Forms

    When I show a modal form (that's it - Form1.Show vbModal) from a control, actually this form doesn't become modal (for example, I can push buttons on control and so on). How may I create a true modal form?
    Thanks in advance.



  2. #2
    Guest

    Re: Modal Forms

    Suggestion,
    1. Check that all the references are correct.
    2. Check that the variable vbModal has a value of 1
    3. Are you using option explicit in your program, if not, you should be.


  3. #3
    Join Date
    Jan 2000
    Location
    Krasnoyarsk, Russia
    Posts
    12

    Re: Modal Forms

    These conditions all satisfied. The form I trying to show as modal, in fact is always displayed over control (in contrast to modeless form). But that strange form can lose focus (when I click on parent control) and as a result - I can work with controls on parent control even if that form is opened.


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