Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OKL Passing Parameters
Message
De
25/06/2001 14:45:39
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00523099
Message ID:
00523148
Vues:
12
>I think it was me not getting yours :)
>
>THIS won't work with OKL, however if you change your strategy a bit, you can get it to work... try using the KeyPress event.
>
>Something like:
>
>
>object.KeyPress
>LPARAMETERS nKeyCode, nShiftAltCtrl
>
>IF nKeyCode = 28
>  NODEFAULT
>  DO HelpForm WITH THIS.Name, THIS.PARENT...
>ENDIF
>
>
>You might want to just pass THIS to the HelpForm - it saves a bit of rework if you later decide to change which properties of THIS you look at.

Hmmm... So, if I pass THIS, all the properties of the object will be available in the called form? I will still need to have code in the KeyPress of any relevant classes though... No way around it, eh? I was hoping that I could keep from having to maintain new classes and just have it work automatically for everything... :(

Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform