Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OKL Passing Parameters
Message
 
To
25/06/2001 14:09:42
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00523099
Message ID:
00523116
Views:
10
Renoir,

One of the parameters needs to be an object reference.

ie, if the parameter is form.CurrentObject
object.GotFocus

form.CurrentObject = THIS

Help call something like:

THISFORM.Help.ShowHelp(THISFORM.CurrentObject)
I hope that answers your question. There is a HelpContextID parameter for each object that might make your life easier.

>I'm using a help system that passes parameters in order to determine what help should be displayed for a particular object. I'm setting the parameter values in the GotFocus of the classes. I thought that it would be cleaner if I could just define the parameters when the OKL is called, but I get an error that "this" can only be used within a method, etc. Is there a way to pass values of the object that is current using the OKL? Thanks!
>
>Regards, Renoir
Brien R. Givens

Brampwood Systems
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform