Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ObtainingTextbox Focus On Form After a Coded DO FORM
Message
De
14/07/2000 17:39:00
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
14/07/2000 17:32:49
Ray Duff
Nevco Scoreboard Company
Greenville, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00392718
Message ID:
00392720
Vues:
8
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform