Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress in textbox
Message
From
17/10/2007 00:24:39
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
 
To
16/10/2007 20:46:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01261393
Message ID:
01261405
Views:
10
This message has been marked as the solution to the initial question of the thread.
>
>**Textbox.keypress()
>LPARAMETERS nKeyCode, nShiftAltCtrl
>DODEFAULT(nKeyCode,nShiftAltCtrl)
>MESSAGEBOX(this.Value)
>
>The messagebox always shows the value before taking the Keypress into account. How can I update that value of the control so that I could, for example, SEEK in the current workarea based upon the new value?

I do that in .InteractiveChange, which works well for me:
=DODEFAULT( )

=CallSomeMethod( This.Value, SomeOtherParams, ... )
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform