Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop down on first click

Status
Not open for further replies.

wsobers

IS-IT--Management
Dec 2, 2000
43
BB
I have implemented the "auto-fill" combo box from faq184-1812.
In the GotFocus Event, I change the background color and call 'dodefault()'
If the combobox does not have focus and i click on the combo down arrow, the cursor moves into the combo box but the list does not drop down. It then requires a second click to get the list to drop down.
Is there any way the have the list drop down on the first click?

Wayne
 
wsobers

Code:
IF this.style = 2
    this.style = 0
ENDI

This code is what is doing the behavior you are seeing. But removing that would defeat the "autofill" feature.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top