Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does GetFldState() return 2 for memo fields
Message
 
To
17/01/2008 17:20:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Miscellaneous
Thread ID:
01282378
Message ID:
01282871
Views:
7
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
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform