Index
1999-09-01 13:32Dan Neuman, dneuman@pclv.com: FPW26: Popups (drop-down boxes)
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)
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: 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