Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Force user to push Enter in Edit Box in every l
Message
De
16/01/2001 22:39:32
 
 
À
16/01/2001 21:30:58
Stanley Yip
Shun Sang (technology) ltd Hong Kong
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00464509
Message ID:
00464526
Vues:
13
>How to make the Edit box force the user to push Enter in order to go to the other line ? and how to disable the Edit box in order at the end of each line if the user not push Enter they can't go to the new line ?
>I have try to add a code in the interactive change method in the Edit box to check when rearch the end of the line auto add a enter but I find that when the user typing is very fast then the respon of the the computer the window will crach ! why ?


SET CONFIRM ON

But, you should know that under Windows, Enter is supposed to execute the click code of the default command button, meaning the user is finished with the form. Tab is supposed to be the key to go from field to field. Even with CONFIRM ON, tab will still navigate to the next control.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform