Howdy, Brian
Good to hear from you again.
BC\ RB>I am starting to add 'context-sensative' help to my FPD2.6
BC\ I have used the DBF style help in a number of apps. It is fairly easy,
\ just create a dbf file with the same structure as FP's own help file.
\ You can even just copy FOXHELP.DBF to a new file name and then add and
\ delete records as required.
BC\ USE C:\FPD26\FOXHELP AGAIN ALIAS TEMP
\ COPY TO MYHELP
\ USE MYHELP
OK, I've done that now, and weeded 800+ records down to 17, and modified
several of them to suit my application. Now I have to add records that
suit my application. I'll probably take the manual, done in Word 2, and
SaveAs a DOS text file, edit it in FP, and cut and paste into memo
fields.
BC\ In the setup code for your app include the SET HELP TO . I also include a couple of lines to set the topic to a
\ memvar, At the points in the program were I want to change the context I
\ just change the contents of the memvar to match the appropriate record's
\ topic field..
BC\ SET HELP TO
\ mhtopic='Main Menu'
\ SET TOPIC TO m.mhtopic
I understand what's happening here, but why 2 lines of code - wouldn't
SET TOPIC TO 'Main Menu'
acomplish the same thing?
Thanks and greetings our to north-of-the-border friends; Randy
* SLMR 2.1a * He does the work of three men .... Larry, Curly, & Moe
--- WILDMAIL!/WC v4.12
---------------
* Origin: GREATER CHICAGO Online!! (1:2222/895.0)
|