Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More treeview problems
Message
De
20/04/1998 09:37:58
 
 
À
20/04/1998 09:25:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00093358
Message ID:
00093375
Vues:
29
Follow up to my last post: I definetely need to know the error message. I just tried this and could not duplicate the error.


>>I have a form with a treeview control. This form also have a 'cancel' commandbutton wich in 'click' event has this code:
>>
>>'thisform.release()
>>
>> If the treeview has the focus, the commandbutton doesnt works with the 'esc' key.
>>I've tried solve this with the 'keypress' event in the treeview:
>>
>>if nkeyascii = 27
>> thisform.commandbuttonname.click()
>>endif
>>
>>this works. but after closing form, VFP gives an error.
>>I've tried too adding this code in the commandbutton click event:
>>
>>thisform.removeobject("treeviewname")
>>thisform.release()
>>
>>but the error continue.
>>
>>¿Does anyone knows solution?
>
>
>I havent seen this problem. Can you post the error message you're getting?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform