Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why does GetFldState() return 2 for memo fields
Message
 
À
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:
01282871
Vues:
8
Hi Hilmar

>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.

Yes, I have the editbox as a single line eight but the Enter was being stored and the value flagged as modified. and that was the problem where the values though not changed by the user (from a non-tech perspective at least) flagged the data as edited.

>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.

This too I have tried to handle where editboxes are multi-line and enters are allowed, in that case I have updated the statusbar/tooltiptext stating that tab need to be used.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform