Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Same old problem again
Message
From
15/12/2005 11:05:52
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01078218
Message ID:
01078295
Views:
33
I'd do Fabio's change to the class without hesitating to do it but here would simply use a baseclass editbox.
Cetin

>Ok, more info.
>
>The EditBox class has the following code in KeyPress coming from MereMortals:
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>
>IF ISALPHA(CHR(nKeyCode))
>   NODEFAULT
>   nKeyCode=ASC(UPPER(CHR(nKeyCode)))
>   DODEFAULT()
>ENDIF
>
>First of all, should it be DODEFAULT(nKeyCode, nShiftAltCtrl)?
>
>Secondly, I put the following code in LostFocus of editbox just to test:
>
>
>this.Value = this.value
>=MESSAGEBOX(this.Value)
>RETURN DODEFAULT()
>
>The first time I tab out of the editbox, it shows empty messagebox. If I position the cursor in the Editbox and tab out again, it shows the value.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform