Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Catégorie:
Codage, syntaxe et commandes
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement