Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On key para executar metodo
Message
De
15/10/2004 15:53:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
15/10/2004 15:48:47
Edson Junio
Sistemas Victory
Goiânia, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00951835
Message ID:
00951836
Vues:
10
>olá,
>Preciso executar um método do form através do comando ON KEY LABEL F2 thsform.meumetodo(). O que ocorre é o seguinte: Parece que o vfp não reconhece comandos internos ao formulário para o comando ON KEY LABEL. O que devo fazer?
>
>Agradeço!

É melhor não usar ON KEY LABEL; ponha o comando no menu.

Porem, va ter o mesmo problema. Pode usar:
_vfp.ActiveForm.MeuMetodo()
Deve condicionar à existença do método.

Acho que isto também devería funcionar com o ON KEY LABEL - mas não recomendo usa-lo.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform