Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does GetFldState() return 2 for memo fields
Message
De
17/01/2008 17:20:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Divers
Thread ID:
01282378
Message ID:
01282827
Vues:
11
>Hi Hilmar
>
>>ENTER will add a new line. The "correct" key to go from one field to the next is TAB / Shift-TAB.
>
>Yes, but the trend here is Enter to go to the next field.

Sure, "my" users do that too. But how do you expect your users to add a new line in a multi-line editbox?

The solutions given by Tore and Dragan may be appropriate if you need a potentially long text, but will never separate it into several lines. Actually, there is a simpler way! Just give your EditBox a height of a single line.

Otherwise, if you need multi-line text, it is a "solution" with big quotation marks, and I would suggest you teach your users to use Tab, at least in those specific cases where ENTER is used for something else.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform