home *** CD-ROM | disk | FTP | other *** search
- * Program..: HLTEST.PRG
- * Author...: RAM
- * Date.....: 01/26/88 RAM
- * Notice...: Copyright (c) 1988, XEC Development, INC., All Rights Reserved.
- * Notes....: Test for Making Help Screens
-
- clear
- external INSTAHLP, HELP
- set key 291 to INSTAHLP
- set scoreboard off
- setcolor("BG+/N, N/R")
- text
-
-
-
- Welcome to the Build Help Demo.
- This demo is designed to show how easy designing help
- can be. Building help is no longer a burdensome task
- as long as you have the Instant Help System (c) 1988,
- Richard A. Murphy. In fact, your help screens are
- only keystrokes away! Remember the good old days ( or
- maybe you're still doing it this way ) when designing
- help meant hours of grueling planing and wishing it
- could be easier? Days of making your help programs
- which ended up almost as big as the original project
- ( and most always, a bigger problem )! Well, not any
- more! With the Instant Help System (c) you can design
- help screens that look as professional as any that you
- have seen in other applications. Just a few features
- are:
-
- endtext
- wait "Press any key to continue..."
- clear
- text
-
-
- 1) Overlapping help screens or
- 2) Help screens that appear by themselves.
- 3) Shadows that look as impressive as Professional Write.
- 4) Your own message on the top and bottom of the help screen.
- 5) Your own colors on the top, bottom, in the help, and the box.
- 6) Design your own style of box, or use the double default.
- 7) Ability to toggle between creating help and viewing the
- original screen.
- 8) Nine, yes nine help screens per variable, or
- 9) A default help for the current procedure, or
- 10) Both specific variable help and generic for those in the
- current procedure with no specific help!
- 11) A very small help program with the bulk of the information
- in the DBF, DBT and NTX files named HELP.* which means
- that help is no longer a program whose size needs to be
- worried about!
- 12) Move your help window (while editing) to get the best position.
- 13) Many more features now and being thought of in the future.
-
- endtext
- wait "Press any key to continue..."
- clear
- text
-
-
-
-
- During this help demo, you will be placed in an environment
- not unlike that of your user's programs where you would be
- needing to hit F1 for help. Go ahead and press F1 and view
- the specific help screens and if you feel like it, press ALT-H
- and change/add/delete the help screens for yourself. Get a feel
- of the different effects that different boxes and colors can have
- as the shadowed boxes of the second set of variables you will be
- editing within this demo program.
-
- To add this feature to your current programs, simply include the
- instruction "SET KEY 291 TO INSTAHLP" and link in HELP.OBJ with
- your program to display the help that you have created!
-
- endtext
- wait "Press any key to continue..."
- clear
- text
-
-
-
- If you have any questions/comments/hate mail or whatever, feel free
- to call me at 216/869-6131, or write me at;
-
- Richard A. Murphy
- XEC Development, INC.
- 92B Shiawassee Ave.
- Akron, OH 44313
-
- If you like what you see, please send $25 to the above address to
- register the use of this program. The source code will be sent for
- an extra $25.
-
- Thanks,
-
- Richard
-
- endtext
- wait "Press any key to finally enter the demo..."
-
- ** Finally! The demo program.
-
- clear screen
- var1 = 'This is the first variable'
- var2 = 'Second variable, Press PgDn when finished for another example.'
- @ 1,26 say '-=[ HELP SYSTEM DEMO ]=-'
- @ 20,10 say "Press F1 to display the Help Screens, or ALT-H to edit them."
- do while .t.
- @ 8,10 say 'Input the first variable: ' get var1
- @ 10,10 say 'Input the second variable: ' get var2
- read
- if lastkey() = 27
- return
- endif
- do HLTEST2
- if lastkey() = 27
- return
- endif
- enddo
-
- procedure HLTEST2 && Shows shadows on help screens
- setcolor("BG/N")
- clear
- @ 0,0,24,79 box replicate(chr(176), 9) && This fills the screen with
- ** an interesting color scheme.
- setcolor("B+/N, N/R")
- var1 = 'This is the first variable'
- var2 = 'Second variable, Press PgDn when finished for another example.'
- @ 1,26 say '-=[ HELP SYSTEM DEMO ]=-'
- @ 20,10 say "Press F1 to display the Help Screens, or ALT-H to edit them."
- do while .t.
- @ 8,10 say 'Input the first variable: ' get var1
- @ 10,10 say 'Input the second variable: ' get var2
- read
- if lastkey() = 27 .or. lastkey() = 3
- exit
- endif
- enddo
- setcolor("BG+/N, N/R")
- clear
- var1 = 'This is the first variable'
- var2 = 'Second variable, Press PgDn when finished for another example.'
- @ 1,26 say '-=[ HELP SYSTEM DEMO ]=-'
- @ 20,10 say "Press F1 to display the Help Screens, or ALT-H to edit them."
- return
-
- *** EOF: HLTEST.PRG
-