Try throwing a DoEvents in the click event before firing the database stuff.
Pete
-----Original Message-----
From: Lyon, Mark H ERDC-ITL-MS Contractor
[mailto:Mark.H.Lyon@e...]
Sent: Friday, August 16, 2002 2:03 PM
To: professional vb
Subject: [pro_vb] Combo Box not retracting
I've got a combo box who's click event fires a huge round of database work.
When you select something, the selection list falls behind the buttons that
were under it, but remains extended until the database is finished chewing.
Is there a way to prevent this?
--
Mark Lyon
mark.h.lyon@e...
---
Visual C# - A Guide for VB6 Developers
This book will make it easy to transfer your skills
from Visual Basic 6 to C#, the language of choice
of the .NET Framework.
http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059