Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find the shortkey and the lastkey value?
Message
 
 
À
02/12/2005 16:19:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01074037
Message ID:
01074670
Vues:
15
>Nadya,
>
>How about this:
>
>oActive = ThisForm.ActiveControl
>if (vartype(m.loObject) = "O") or (vartype( m.oActive ) = 'O')
>   llReturn = (inlist(lower(justext(sys(1272, m.loObject))),"cmdcancel","cmdclose") and mdown()) OR ;
>      inlist(lower(m.oActive.Name),"cmdcancel","cmdclose")
>else
>   llReturn = .f.
>endif
>
>
>I think, you don't even have to use AMOUSEOBJ(). Use ActiveControl object is enough. But I don't know, just in case <bg>
>
>HTH

This can work as well. It doesn't answer the thread question, though.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform