Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NoDefault () and DoDefault()
Message
De
29/02/2000 12:33:10
 
 
À
28/02/2000 15:57:37
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00338552
Message ID:
00339236
Vues:
22
>>>Stacy,
>>>
>>>Your otherwise can be empty, a NODEFAULT followed by a DoDefault() does nothing to alter the default behavior. Try dumping the otherwise all together.
>>
>>
>>I thought it should not alter the behavior, but the code does not produce a key press at all.
>>
>>I understand that it would work to remove the otherwise statement, but now I will need to find all cases in my code where I have used this syntax.
>>
>>Do you think that NoDefault DoDefault() in the keypress event should produce a normal keystroke?
>
>You should pass the parameters that the code expects; since it's a keypress, it should do
> nodefault
> dodefault(nKeyPress, nCtrlShiftAlt)
>
>But then, it can be safely omitted, because the nodefault/dodefault combination is unnecessary.

Thanks Dragan,

I think this is what I was looking for...
Thanks,

Stacy



Black Mountain Software, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform