Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ThisForm.Refresh
Message
 
To
15/02/2001 16:43:08
Chuck Tripi
University of Wisconsin - Milwaukee
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00476312
Message ID:
00476558
Views:
25
Hi Chuck,
Overall it's usually better to start a new thread with a new question. Not required, but people do check new threads....

If you're appending the blank to the table that's showing in your listbox you'll need to use a MyListBox.Refresh() and then set the value of the listbox to the value of the blank record. The exact code will depend on the field that's bound to the listbox.

You can set the IncrementalSearch property of your listbox to TRUE and it will search each keystroke in turn. There are some "Gotcha's" with this - the speed you must type is based on the _dblclick value, which is set in your control panel. You can reset this, but be sure you set it back to the user's default value when you exit the control.

Look in the Downloads area for "Quicken style" text boxes and other controls which are more elaborate versions of the plain vanilla VFP.

HTH
Barbara

>I got it, thanks. Now, another one... I have a 'New' button and in it's ClickEvent, it has APPEND BLANK. I want the listbox to scroll (itself) to the highlited field (which would be a blank record, but at least the user sees that on the listbox). The textbox blanks out fine.
>
>Speaking of that, one of the boy's request was that on another form, he wants to be able to type first few letters and have the listbox locate the (indexed) data (and the highlite select scrolls itself too). It's been a long time since I did something like that with FPW 2.6 (using INKEY and so on), so what does VFP 6.0 have for that?
>
>Chuck
>
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform