Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to limit the number of lines in a memo ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00306732
Message ID:
00306818
Vues:
33
Hi Nadya,

You can use the valid, and ErrorMessage events:
* Edit1.Valid()

return 	occurs(chr(13),this.value)=5

* Edit1.ErrorMessage
if occurs(chr(13),this.value) >5
	wait window 'You may enter only 6 lines' nowait
else
	wait window 'You must enter at least 6 lines' nowait
endif
>Hi Ken,
>
> Continue the theme of editbox, how can I check that users type 5 and only 5 digits in each line? If not, display a warning message and stop.
>
>TIA
>
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform