Author: Jack Skelley, skelley@newjerseydevils.com
Posted: 1999-09-01 13:17:47 Link
Dan:
In the valid clause of the control enter something like this:
_curobj = objnum(next_control) &&next control is the variable name of the
next control
show get next_control
HTH
Jack Skelley
skelley@newjerseydevils.com
Dan Neuman wrote:
> How can I program the drop-down box in FPW26 to leave the control when the
> user hits [enter] rather than tab?
>
> TIA,
> Dan Neuman
>
Author: Dan Neuman, dneuman@pclv.com
Posted: 1999-09-01 13:18:01 Link
How can I program the drop-down box in FPW26 to leave the control when the
user hits [enter] rather than tab?
TIA,
Dan Neuman
Author: Dan Neuman, dneuman@pclv.com
Posted: 1999-09-01 13:32:58 Link
Can someone answer a few questions about popups in FPW26?
1. How to create quickfill capability (or a way to go through the list using
the keyboard)?
2. How to leave control on [enter] key press?
3. How to add "on-the=fly" adding of fields when drop-down does not contain
the needed value?
TIA,
Dan Neuman
PC Advisors, LLC
Author: Ed Leafe, ed@leafe.com
Posted: 1999-09-01 13:38:33 Link
On 9/1/99 1:18 PM, Dan Neuman supposedly said:
>How can I program the drop-down box in FPW26 to leave the control when the
>user hits [enter] rather than tab?
You could try SET KEYCOMP TO DOS.
___/
/
__/
/
____/
Ed Leafe
On 9/1/99 1:32 PM, Dan Neuman supposedly said:
>1. How to create quickfill capability (or a way to go through the list using
>the keyboard)?
I wrote an article in the July 1995 FoxPro Advisor magazine which
showed how to do QuickFill in textboxes. You might be able to adapt the
technique to work with lists.
___/
/
__/
/
____/
Ed Leafe
Author: Dan Neuman, dneuman@pclv.com
Posted: 1999-09-01 14:40:05 Link
Ed,
Your article has my interest.
I was doing other things in 1995 and do not have that issue or access to it.
Is there anything you can forward me to help.
-----Original Message-----
From: profox@leafe.com [mailto:profox@leafe.com]On Behalf Of Ed Leafe
Sent: Wednesday, September 01, 1999 10:41 AM
To: Multiple recipients of ProFox
Subject: Re: FPW26: Popups (drop-down boxes)
On 9/1/99 1:32 PM, Dan Neuman supposedly said:
>1. How to create quickfill capability (or a way to go through the list
using
>the keyboard)?
I wrote an article in the July 1995 FoxPro Advisor magazine which
showed how to do QuickFill in textboxes. You might be able to adapt the
technique to work with lists.
___/
/
__/
/
____/
Ed Leafe
On 9/1/99 2:40 PM, Dan Neuman supposedly said:
>Your article has my interest.
>
>I was doing other things in 1995 and do not have that issue or access to it.
>Is there anything you can forward me to help.
About the best I can do is offer you their phone number:
800-336-6060. They offer back issues on CD.
___/
/
__/
/
____/
Ed Leafe
Author: Jack Skelley, skelley@newjerseydevils.com
Posted: 1999-09-01 15:01:53 Link
Dan:
1. Not sure what *quickfill capability* is...But you can go through the list in
FPW26 by pressing a key on the keyboard to position the list. It's like an
incremental search in VFP6.
2. In the valid to the control enter:
_curboj = objnum(next_control) &&next_control is the variable of what
control is to receive the focus
show get next_control &&select that next control to receive focus
3. if the drop down doesn't have what the user needs you can provide the user
with an *other* field; the valid to the *other* text box can then manipulate an
array which feeds the drop down. Something like this...
dimension some_array(alen(some_array) + 1) &&array made larger by one; drop
down is populated by array *some_array*
some_array(alen(some_array)) = text_box_value &&equate new subscript with text
box value for *other*
hold_value = text_box_value &&save this value to later position drop down
text_box_value = "" &&empty text box
show get text_box_value &&show the empty value in the other text box
=asort(some_array) &&rearrange the array so it is sorted (if you wish)
var_for_drop_down = ascan(some_array, hold_value) &&position drop down with new
value
show get var_for_drop_down &&refresh the drop down
HTH
Jack Skelley
skelley@newjerseydevils.com
Dan Neuman wrote:
> Can someone answer a few questions about popups in FPW26?
>
> 1. How to create quickfill capability (or a way to go through the list using
> the keyboard)?
> 2. How to leave control on [enter] key press?
> 3. How to add "on-the=fly" adding of fields when drop-down does not contain
> the needed value?
>
> TIA,
> Dan Neuman
> PC Advisors, LLC
>
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
|
|
|