Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress in textbox
Message
De
17/10/2007 00:24:39
 
 
À
16/10/2007 20:46:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01261393
Message ID:
01261405
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform