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 02:57:52
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Firebird
Miscellaneous
Thread ID:
01282378
Message ID:
01282492
Views:
8
>Hi Naomi
>
>>Is this field edittable? If yes, adding CHR(13) changes the field's content.
>
>Yes and that is the case. I have captured the Enter in Keypress and Keyboarded tab instead.
>
>Thanks.

Don't use keyboard(), it can have side effects. This code in KeyPress is better
If nKeyCode=13
   NoDefault 
   DoDefault(9,nShiftAltCtrl)
EndIf
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform