DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Message Box

  1. #1
    Join Date
    Jul 2005
    Location
    Texas
    Posts
    1

    Message Box

    I am writing a vb6 program for an accounting program for my parents. As the msgbox function is quite limited in vb6, I decided to write my own message boxes by creating different msgbox forms.

    Now, the problem with it is that the input from the message box is what will determine what action to take, but when the customized message box shows up, execution of the calling procedure continues.

    How can I get around this problem and make the calling procedure wait for input (from the message box) before continuing execution of the code?

    Thanks for any help.

  2. #2
    Join Date
    Feb 2004
    Location
    Sydney, Australia
    Posts
    498
    Show your customised message box 'Modal'

    MyMessageBoxForm.Show vbModal

    (Click on 'Show' and press F1 for more detailed explanation.

    Greg

  3. #3
    Join Date
    Jul 2005
    Posts
    203
    MsgBox("Your Msg",, "Parent Forms Name")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center