Author: Brad Jones, bpjones@voyager.net
Posted: 1999-10-06 17:11:44 Link
I've seen this question asked before and I reviewed what I could find on
Deja News but nothing seems to be doing the trick.
Can anyone tell me how to programmatically drop the list portion of a
combobox down?
Thanks!
--Brad
Author: Anders Altberg, anders.altberg@swipnet.se
Posted: 1999-10-06 19:09:20 Link
Function GotFocus
KEYBOARD "{F4}"
If it's a combo list you can
KEYBOARD "{SPACEBAR}"
----- Original Message -----
From: Brad Jones <bpjones@voyager.net>
To: Multiple recipients of ProFox <profox@leafe.com>
Sent: onsdag den 6 oktober 1999 23:11
Subject: Automatic Drop-Down Combobox
| I've seen this question asked before and I reviewed what I could find on
| Deja News but nothing seems to be doing the trick.
|
| Can anyone tell me how to programmatically drop the list portion of a
| combobox down?
|
| Thanks!
|
| --Brad
|
|
|
Author: Ceil Silver, ceilsilver@erols.com
Posted: 1999-10-06 20:34:30 Link
Brad,
Try this in a method of the combo, like When():
KEYBOARD '{CTRL-ENTER}'
Ceil
----- Original Message -----
From: Brad Jones <bpjones@voyager.net>
To: Multiple recipients of ProFox <profox@leafe.com>
Sent: Wednesday, October 06, 1999 5:11 PM
Subject: Automatic Drop-Down Combobox
> I've seen this question asked before and I reviewed what I could find on
> Deja News but nothing seems to be doing the trick.
>
> Can anyone tell me how to programmatically drop the list portion of a
> combobox down?
>
> Thanks!
>
> --Brad
>
>
Author: Andy_Davies/ITUnit/MCC@notes.manchester.gov.uk
Posted: 1999-10-07 03:42:11 Link
Further Question: There is a 'downclick event' method - is there no way to
invoke it programmatically?
"Brad Jones" <bpjones@voyager.net> on 06/10/99 10:11:44 PM
Please respond to profox@leafe.com
To: Multiple recipients of ProFox <profox@leafe.com>
cc: (bcc: Andy Davies/ITUnit/MCC)
Subject: Automatic Drop-Down Combobox
I've seen this question asked before and I reviewed what I could find on
Deja News but nothing seems to be doing the trick.
Can anyone tell me how to programmatically drop the list portion of a
combobox down?
Thanks!
--Brad
Author: Ed Leafe, ed@leafe.com
Posted: 1999-10-07 04:59:43 Link
On 10/7/99 3:42 AM, Andy_Davies/ITUnit/MCC@notes.manchester.gov.uk
supposedly said:
>Further Question: There is a 'downclick event' method - is there no way to
>invoke it programmatically?
You can certainly call the event code with obj.DownClick(), but this
won't cause the *event* to fire, it just executes the code.
___/
/
__/
/
____/
Ed Leafe
Author: Andy_Davies/ITUnit/MCC@notes.manchester.gov.uk
Posted: 1999-10-07 06:44:08 Link
I must be having a muddled-head day. Doesn't the default method code drop
down the list box? If not, what does it do?
Ed Leafe <ed@leafe.com> on 07/10/99 09:59:43 AM
Please respond to profox@leafe.com
To: Multiple recipients of ProFox <profox@leafe.com>
cc: (bcc: Andy Davies/ITUnit/MCC)
Subject: Re: more on Automatic Drop-Down Combobox
On 10/7/99 3:42 AM, Andy_Davies/ITUnit/MCC@notes.manchester.gov.uk
supposedly said:
>Further Question: There is a 'downclick event' method - is there no way to
>invoke it programmatically?
You can certainly call the event code with obj.DownClick(), but this
won't cause the *event* to fire, it just executes the code.
___/
/
__/
/
____/
Ed Leafe
Author: Ed Leafe, ed@leafe.com
Posted: 1999-10-07 07:10:24 Link
On 10/7/99 6:44 AM, Andy_Davies/ITUnit/MCC@notes.manchester.gov.uk
supposedly said:
>I must be having a muddled-head day. Doesn't the default method code drop
>down the list box? If not, what does it do?
No, it doesn't drop the list box. It is code which is executed when
the user drops the list box.
IOW, it is not a trigger which causes the event to occur; it is a
reaction to an event having occurred. As a related example, a command
button visually changes when you click on it with the mouse, and then any
code in its Click() event is executed. If you manually call the button's
Click() event code from somewhere else in your program, the code will
run, but you won't see the button visually "click".
___/
/
__/
/
____/
Ed Leafe
Author: David L. Crooks, dcrooks@tass.com
Posted: 1999-10-07 09:05:07 Link
Keyboard '{ALT-DNARROW}'
> -----Original Message-----
> From: Andy_Davies/ITUnit/MCC@notes.manchester.gov.uk
> [SMTP:Andy_Davies/ITUnit/MCC@notes.manchester.gov.uk]
> Sent: Thursday, October 07, 1999 3:42 AM
> To: Multiple recipients of ProFox
> Subject: more on Automatic Drop-Down Combobox
>
>
>
> Further Question: There is a 'downclick event' method - is there no
> way to
> invoke it programmatically?
>
>
>
>
> "Brad Jones" <bpjones@voyager.net> on 06/10/99 10:11:44 PM
>
> Please respond to profox@leafe.com
>
> To: Multiple recipients of ProFox <profox@leafe.com>
> cc: (bcc: Andy Davies/ITUnit/MCC)
>
> Subject: Automatic Drop-Down Combobox
>
>
>
>
> I've seen this question asked before and I reviewed what I could find
> on
> Deja News but nothing seems to be doing the trick.
>
> Can anyone tell me how to programmatically drop the list portion of a
> combobox down?
>
> Thanks!
>
> --Brad
>
>
>
>
>
>
>
>
>
Author: Brad Jones, bpjones@voyager.net
Posted: 1999-10-07 10:48:53 Link
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
Author: Bonnie J. Berent, bonnieb@profitware-online.com
Posted: 1999-10-07 12:14:04 Link
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
>
>
>