Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to limit an EditBox to 3 CR/LF's
Message
De
09/09/1998 11:01:15
 
 
À
09/09/1998 10:55:31
Brady Flax
Resource Consultants Inc.
Virginia Beach, Virginie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00134532
Message ID:
00134540
Vues:
10
Brady ----

Create a custom EditBox class. Create a new property called NumberCRLF. Default it to 0. In the Init event of the class, use OCCURS() to populate the NumberCRLF value. In the Keypress event, use OCCURS() again in conjunction with trapping keycode=13. If NumberCRLF > desired, NODEFAULT.

Use this new class on the forms desired.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform