Results 1 to 3 of 3

Thread: Making forms Unaccessable???

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    30
    In my program, the main form that launches is completely maximized. Occasionally a smaller form might launch. I was wondering how I can prevent the user from clicking outside the smaller form (thus keeping the focus entirely on the smaller form) until he manually closes it using either a command button (unload me) or using the control box.

    Please help,
    Brandr

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Use frmSmallerForm.Show vbModal to make a modal dialogue box.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Guest
    Code:
    MyForm.Show vbModal

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