It seems the bug Darrell Shandrow mentioned is influenced by some kind of
version or platform differences, since Betsy and others have things working
properly. As for me, they aren't on Windows 98. To fix things the way I did:
1. Go to the JFW window and press F1 to open the Help system. Arrow up and
down to verify that you have the problem. Also, do a SayLine to verify that
SayLine does work properly.
2. Press Insert+Space. JFW will say Home Row On. Press F3 until JFW says
SubtypeCode. Press F1. On my computer, JFW says 31. If yours does also, you
can do things exactly as I did. If not, use your number in place of
WT_TREEVIEW below.
3. Press Insert+Space. JFW will say Home Row Off.
4. While in the treeview of the help system, press Insert+0 to start the
script manager with the proper script file loaded. On my system this is
winhlp32.jss.
5. Press Control+shift+d to open the default file.
6. Use Control+l to bring up the script list, and type (pretty fast)
SayPriorLine. Use SayLine to verify that you got this script and then hit
Enter.
7. Use Control+r to select this script, Control+c to copy the whole script
to the clipboard, Control+tab to switch back to the Windows help file,
Control+end to get to the end of that file, and Control+v to paste the
SayPriorLine script.
8. Use Control+tab to get back to the default scripts, advance to the
SayNextLine script, and copy it into the help scripts using the steps above.
For the rest of this, make sure you're in the Windows Help scripts.
9. Both SayPriorLine and SayNextLine conclude with the following four lines:
If ((TheTypeCode == WT_MULTISELECT_LISTBOX) ||
(TheTypeCode == WT_EXTENDEDSELECT_LISTBOX)) then
SayLine()
endif
Since we know that SayLine is working, all we need to do is put that
instruction in this If condition like this:
If ((TheTypeCode == WT_MULTISELECT_LISTBOX) ||
(TheTypeCode == WT_TREEVIEW) ||
(TheTypeCode == WT_EXTENDEDSELECT_LISTBOX)) then
SayLine()
endif
Use Control+s to compile the scripts. When you go back to the help system,
everything should be read properly.
Jerry had an interesting idea about modifying the SayHighlightedText
function instead of the above. I'd be interested in the details.
Lee
-
Visit the jfw ml web page: http://jfw.cjb.net