Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programatic Editing of Edit box
Message
 
À
22/07/1999 15:19:18
Dan Coffey
Computer Presentation Systems
Rancho Cordova, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00244919
Message ID:
00245212
Vues:
23
>I have used the interactivechange event to look for the equal sign and the following character to auto stuff a predefined text string.
>
>The control source is a memo field.
>
>It works wonderfully, with one unfortunate side effect.
>
>When the user hits the enter key the cursor drops as it should and then jumps back up to the location it came from. The chr(13) is in the edit box, but the cursor seems to have a mind of its own.
>
>I did a great deal of testing and found that I could recreate the issue by putting one line of code in the interactivechange event.
>
>myvar = this.value
>
>Weird. Does anyone have an explanation for this? A work around?

Have you tried using keypress instead?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform