Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ObtainingTextbox Focus On Form After a Coded DO FORM
Message
From
14/07/2000 17:39:00
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
14/07/2000 17:32:49
Ray Duff
Nevco Scoreboard Company
Greenville, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00392718
Message ID:
00392720
Views:
10
>I want to display a form in my VFP program code. I then want the user to be able to enter a range of shipping numbers into two textboxes. The two values then need to be passed to variables in the rest of my program. I can not get the form to obtain focus on the first textbox. After the "DO FORM" code, the form is displayed, but I can't get focus on my textboxes. It just continues to run code in the remaining part of my program. I have tried lots of different things in the form's procedures & properties.

Hi,

Make your second form Modal (form.windowType = 1) and this will cause code in the first form to pause until the second is released.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Previous
Reply
Map
View

Click here to load this message in the networking platform