Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ThisForm.Refresh
Message
From
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:
00476485
Views:
35
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

>Look at the InteractiveChange Event, ProgrammaticChangeEvent, and Requery methods of the list box. In those methods issue a refresh for the textbox -- assuming the textbox has a ControlSource that is tied to the listbox.
>
>This.Parent.MyTextBox.Refresh() or ThisForm.MyTextBox.Refresh()
Today is tomorrow's yesterday.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform