Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Void double 'ENTER' on editbox
Message
De
19/11/2008 10:04:56
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
19/11/2008 09:10:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01362796
Message ID:
01362812
Vues:
15
>Hi
>I have 'edit box' that most of the times need to behave as regular 'editbox'.
>
>Sometimes I need the editbox content for report on specific place that I can use till 2 rows and max lenght of 100 charcter per line.
>In this case I think to follow on user typing (or on 'save' if the first option impossible) and to void illegal typing.
>
>Thanks

In .interactiveChange() you can always check for .value and see whether it conforms to your specifications. You can use aLines(), or mline() with set memowith 100, to chop it into lines, do whatever you think, and then change .value the way you like it and also set focus to next control.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform