TIP: Click on subject to list as thread! ANSI
echo: foxpro
to: BRIAN COPELAND
from: RANDALL BOSMA
date: 1996-11-23 19:34:00
subject: Setting up help in FPD

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.