Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OKL Passing Parameters
Message
From
26/06/2001 15:46:32
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00523099
Message ID:
00523806
Views:
9
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform