Re: Automatic Drop-Down Combobox

Author: Bonnie J. Berent, bonnieb@profitware-online.com

Posted: 1999-10-07 at 12:14:04

Hi Brad,

There is a DropDown event that fires when the list drops down. I use a

form-scoped property called lDropDown that I set to true in the DropDown

method. Only problem is that there is no corresponding ListUp event ... I

have found no way to determine if the user gets rid of the DropDown ... but

usually that's a minor issue.

-Bonnie

-----Original Message-----

From: Brad Jones <bpjones@voyager.net>

To: Multiple recipients of ProFox <profox@leafe.com>

Date: Thursday, October 07, 1999 7:52 AM

Subject: RE: Automatic Drop-Down Combobox

>Thank you Anders, Ceil, et al. I appreciate your help.

>

>Resolution: I put KEYBOARD {F4} in KeyPress(). Of course, it's surrounded

>by the necessary logic, but it is in there.

>

>What?!? You're asking why I did this? Well, let me tell you.

>

>I created a quickfill combobox as per one of Tamar's FPA articles. Works

>beautifully but it wasn't good enough for me. I wanted to further mimic

the

>IE5 (maybe IE4 as well) address combobox whereas once a partial match is

>found, the list will drop down and the user can then cursor up or down

>through the list to find their item, or keep typing.

>

>My only remaining obstacle is that if the list has dropped down, I do not

>want to trap the up and down arrow movements.

>

>If only I knew a way to determine if the list has dropped down. If only...

>

>--Brad

>

>

>

©1999 Bonnie J. Berent, bonnieb@profitware-online.com