Index
1999-09-01 13:17Jack Skelley, skelley@newjerseydevils.com: Re: FPW26: Leaving drop-down box with [enter]
1999-09-01 13:18Dan Neuman, dneuman@pclv.com: FPW26: Leaving drop-down box with [enter]
1999-09-01 13:32Dan Neuman, dneuman@pclv.com: FPW26: Popups (drop-down boxes)
1999-09-01 13:38Ed Leafe, ed@leafe.com: Re: FPW26: Leaving drop-down box with [enter]
1999-09-01 13:41Ed Leafe, ed@leafe.com: Re: FPW26: Popups (drop-down boxes)
1999-09-01 14:40Dan Neuman, dneuman@pclv.com: RE: FPW26: Popups (drop-down boxes)
1999-09-01 14:56Ed Leafe, ed@leafe.com: RE: FPW26: Popups (drop-down boxes)
1999-09-01 15:01Jack Skelley, skelley@newjerseydevils.com: Re: FPW26: Popups (drop-down boxes)
1999-10-06 17:11Brad Jones, bpjones@voyager.net: Automatic Drop-Down Combobox
1999-10-06 19:09Anders Altberg, anders.altberg@swipnet.se: Re: Automatic Drop-Down Combobox
Back to top
Re: FPW26: Leaving drop-down box with [enter]

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

>

©1999 Jack Skelley, skelley@newjerseydevils.com
Back to top
FPW26: Leaving drop-down box with [enter]

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

©1999 Dan Neuman, dneuman@pclv.com
Back to top
FPW26: Popups (drop-down boxes)

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

©1999 Dan Neuman, dneuman@pclv.com
Back to top
Re: FPW26: Leaving drop-down box with [enter]

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

http://leafe.com/

©1999 Ed Leafe, ed@leafe.com
Back to top
Re: FPW26: Popups (drop-down boxes)

Author: Ed Leafe, ed@leafe.com

Posted: 1999-09-01 13:41:17   Link

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

http://leafe.com/

©1999 Ed Leafe, ed@leafe.com
Back to top
RE: FPW26: Popups (drop-down boxes)

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

http://leafe.com/

©1999 Dan Neuman, dneuman@pclv.com
Back to top
RE: FPW26: Popups (drop-down boxes)

Author: Ed Leafe, ed@leafe.com

Posted: 1999-09-01 14:56:55   Link

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

http://leafe.com/

©1999 Ed Leafe, ed@leafe.com
Back to top
Re: FPW26: Popups (drop-down boxes)

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

>

©1999 Jack Skelley, skelley@newjerseydevils.com
Back to top
Automatic Drop-Down Combobox

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

©1999 Brad Jones, bpjones@voyager.net
Back to top
Re: Automatic Drop-Down Combobox

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

|

|

|

©1999 Anders Altberg, anders.altberg@swipnet.se