Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OKL Passing Parameters
Message
De
26/06/2001 15:46:32
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:
00523806
Vues:
10
>You could use a UDF. Try setting the HelpContextID to "=GetID(THIS)", create a GetID program / function that accepts an object reference and returns a numeric value. You could have this program do the reverse of the program I sent you - you maintain your own table of objname and helpcontextid values, the GetID function looks up the objname and returns the helpcontextid. This would probably slow form display at runtime, but you could change any object's helpcontextid at will.

Bingo! That is what I'm looking for... In the class object.init I set nHelpID = This.HelpContextID where the HelpContextID property is "=GetHelpID(This)" and then in the UDF I determine what should be returned based on the current help table. The OKL is set to do the help form and pass the nHelpID. Works like a charm! Thanks for you time and patience with this...and the stars return... Renoir
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform