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
Divers
Thread ID:
00665243
Message ID:
00665248
Vues:
18
>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

Never mind the above post - all I had to do - just before the frmWait.Show - is to do a Me.Enabled = False. This seems to work just fine.
Al Williams

Anola MB, CANADA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform