Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why does GetFldState() return 2 for memo fields
Message
From
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:
01282827
Views:
10
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform