Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00389776
Message ID:
00390534
Views:
9
>1) Make the cursor (focus) go to a certain field by means of pressing a key like F2, but only while I am in a given form?
>I tried an ON KEY LABEL F2 thisform.thisfield.setfocus
>but got a message saying thisform can only be used within a method.

Try :

ON KEY LABEL F2 _Screen.Activeform.thisfield.setfocus


>2) I have several combo boxes in a form and I'd like them to display (open) automatically when getting the focus. I'm looking for an equivalent SendKeys command in Visual Basic, but can't find any.

Try looking at KEBOARD Command

Ron
Ronald L. Thorp
http://www.Fox-Pros.com
Fox-Pros, Inc.
Office 407-498-0100
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform