Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing focus in a list box
Message
From
24/04/1997 07:16:19
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
 
 
To
24/04/1997 06:50:12
John Thomason
King Richard Veterinary Centre
Leicester, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00029516
Message ID:
00029518
Views:
23
> > I have an application which I wish to be completely keyboard driven. If I > open a list box programmatically to use as a lookup to fill a text box, how > do I prevent the focus moving to enabled text boxes when the list box has > focus and the arrow keys take the selected row past the top or the bottom > of the list box. > > Thanks in anticipation of your help. First off, use a combobox. You're reinventing the wheel. Once you've done that, you can check to see if DisplayValue has been popoulated in your valid clause to prevent the object from losing focus if empty HTH -- Matt McDonnell
Matt McDonnell
...building a better mousetrap with moldy cheese...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform