>>>>I am currently looking for soloution and alternatives that i can use to fix the "SetFocus" bug that exists in VFP 3.00.
>>>>If you have the answer(s) for that please email me at the following :
>>>>
>>>>TaleBest@msn.com
>>>>
>>>>Thanx
>>>
>>>Yes, please give more details concerning this problem. I use SetFocus() in my apps without any difficulty. Is there a MS KB article ID? I have not checked the MS KB in a couple of months...
>>
>>The only problem I found using Set focus is when, in the VALID Event, if I return .T., it ignores the set focus. I don't know if there is other bugs.
>
>I have not checked out your bug but; do U have to use the Valid method? How about LostFocus?
I still use the valid method instead of lostfocus. But, when I do some code to validate the field, If it is not valid, I do return .F.. In that way, the focus will still be in that field. If it is true, instead of doing return .T., I do a setfocus to next field
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement