Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Context-Sensitive Help
Message
From
13/11/2001 13:50:59
 
 
To
07/11/2001 08:14:48
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00578430
Message ID:
00581033
Views:
22
Hilmar,

You question seems a simple one, so I don't know why you have not yet received a number of replies.

It looks to me as if you are doing everything right.

There is an easier way to do this, I think, that also makes it easier to keep track of what help is associated with a form or control on the form.

Create a lookup table consisting of a unique name for each object linked to you help, and give each such object a unique numeric id, like this:
Structure for table HelpCtxt.dbf
   
          <strong>Unique_Name          Unique_No</strong>

          myForm               0000001
          myForm.myGrid        0000002
          etc...
Each of your forms already has a unique name, and every control can be given a unique name using SYS( 1272, ) to get the control's hierarchy.

You can ensure that the unique number is indeed unique by using an insert trigger on the table to test for uniqueness.

Your context help process now goes to HelpCtxt to get the unique number using the unique name for the form or control on the form.

Hope this helps.

Regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform