Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing form from another form
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00665243
Message ID:
00665248
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform