Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Same old problem again
Message
 
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:
01078273
Views:
37
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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform