Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TextBox echoing...
Message
 
 
À
20/07/2001 15:15:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00533320
Message ID:
00533795
Vues:
10
Hi!

'KEYBOARD CLEAR' in keypress event after dodefault() got an error.

If you do not use nodefault in the KeyPress event, dodefault() will cause the character to be typed twice in case no code in the parent class for KeyPress event. See if this can help.

>Hi all,
>
>this didn't happen in alphabet and numeric but korean.
>As you know, we use 2-byte character in most Asia unlike Alphabet and numeric.
>When i type some letter in textbox leaving focus there and moves somewhere
>with mouse, the last letter echoes one more time...if typed 'kilos', said
>'kiloss' in example of English.
>i debuged on keypress and lostfocus event, but can't catched when letters
>changed, it happend before lostfocus.
>but I guess, keyboard buffer looked not clear if enter or tab is not followed.
>when echoes happend, cursor's position is moved just in front of last typed
>letter as if last letter not typed ,being ready to receive new letter.
>this happens not all the time..but frequently..i'm using subclassed FFC base
>class and no additional code.
>Is there any settings i disregarded or any method to reinforce keyboard buffer
>to be clean ? 'KEYBOARD CLEAR' in keypress event after dodefault() got an
>error. Any advice woule be appreciated.
>
>RGDS
>HK.Lee
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform