Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DODEFAULT with parameters
Message
De
31/07/2001 20:58:06
 
 
À
31/07/2001 19:58:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00538014
Message ID:
00538108
Vues:
16
>Trey,
>
>>>OK I tried that but no joy. Here is the code currently in the Keypress event
>>>
>>>
>>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>>LOCAL lnresult
>>>lnresult = DODEFAULT(nKeyCode, nShiftAltCtrl)
>>>gcLastName = This.Value
>>>REQUERY("ChildList")
>>>ThisForm.Refresh()
>>>return(.t.)
>>>
>>
>>It's the thisform.Refresh() that's causing the single letter problem.
>>If it's just the grid that needs refreshing, just refresh that.
>>
>
>I would say it was the absence of NODEFAULT that was the culprit, wouldn't you?
>

Definitely needs to be there, but I don't think that was causing the single letter problem he was having.
If the refresh() isn't there, not having NODEFAULT should actually put 2 letters in for each one you type.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform