Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing form from another form
Message
 
To
All
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Title:
Closing form from another form
Miscellaneous
Thread ID:
00665243
Message ID:
00665243
Views:
50
Hi,

In my VB app, I've created a 'waiting' form (frmWait). The purpose is to show an avi file in a small form with a message while a time intensive routine executes. (Note: This is not an MDI app)

I'd like to issue a frmWait.show from formA - and then close frmWait from formA once processing is finished. This works when I don't make frmWait modal. The problem is that the user can click on FormA and bring focus to it - which I don't want them to have the ability to do.

(What I'm really trying to do is emulate the "wait window" functionality of VFP)

If I do a frmWait.Show vbModal - I can't close frmWait from formA ...

What is the best approach to take? I've tried a few things involving timers that haven't worked all that well.

Thanks in advance, Al
Al Williams

Anola MB, CANADA
Next
Reply
Map
View

Click here to load this message in the networking platform