Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing form from another form
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Closing form from another form
Divers
Thread ID:
00665243
Message ID:
00665243
Vues:
49
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform