Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_CUROBJ to ActiveControl
Message
De
06/01/1998 15:41:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/01/1998 15:39:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00069672
Message ID:
00069894
Vues:
58
>>what is special with it is when you press dnarrow and call setfocus, focus is set to text2 and than normal (default) behaviour of DnArrow is executed. You should somewhat absorb it (nodefault) if you don't want it to happen. It is like with no keypress you are in text2 pressing dnarrow.
>>In "do case" also you should use "nodefault" after "case" statement if you don't want the default behaviour of key.
>>*keypress

>>do case
>> case nKeycode = 28 && F1
>> ..
>> thisform.oObject.setfocus && Than default for F1 fires (help)
>> case nKeyCode = 122 && "z"
>> nodefault && Char "z" absorbed
>> thisform.oObject.setfocus && W/o nodefault "z" would be written in oObject.value (if applicable)
>>...
>>endcase
>
>Just using nodefault does what I want so I guess I don't even need to use SetFocus - Right?
If you are already where yo want yes.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform