|
On Monday, April 27, 1998 1:51 PM, Bleddyn Williams
[SMTP:bleddyn@morpheus.ltd.uk] wrote:
> Hi I've created a number of UIM panel groups containing help text.
-snip-
> I've noticed that the IBM-supplied search indexes organise their
> help
> topics in a hierarchy. If a topic is shown with a "+" beside it,
> the
> user is able to expand that topics to see the sub-topics that exist
> beneath it. In turn, some of these may be expanded until they
> eventually find the topic they want to view.
Bleddyn,
Here's an example substantially lifted (IIRC) from the Application
Display Programming manual:
For the benefit of those readers who might want to tinker with help
panels, this goes in QPNLSRC (I called it by the imaginative name of
TEST)
:PNLGRP.
:ISCHSYN ROOT='root'.root base main start help
:ISCHSYN ROOT='words'.words word phrase symbol
:HELP name=mainhelp.
:ISCH roots='root words'.
Main Help Topic
:ISCHSUBT topics='help1'
topics='help2'.
:P.
Lines of text for main topic.
:EHELP.
:HELP name=help1.
:ISCH roots='root words'.
Help number 1
:ISCHSUBT topics='help3 help4'.
:P.
Lines of text for sub topic help1.
:EHELP.
:HELP name=help2.
:ISCH roots='root words'.
Help number 2
:ISCHSUBT topics='help3'.
:P.
Lines of text for sub topic help2.
:EHELP.
:HELP name=help3.
:ISCH roots='root words'.
Help number 3
:P.
Lines of text for sub topic help3.
:EHELP.
:HELP name=help4.
:ISCH roots='root words'.
Help number 4
:P.
Lines of text for sub topic help4.
:EHELP.
:EPNLGRP.
create the panel group:
CRTPNLGRP PNLGRP(BUCK/TEST)
SRCFILE(BUCK/QPNLSRC)
then create a search index object:
CRTSCHIDX SCHIDX(BUCK/TEST) TITLE('Testing subtopics')
then add the panel group to the search index:
ADDSCHIDXE SCHIDX(BUCK/TEST) PNLGRP(BUCK/TEST)
then try it out:
STRSCHIDX TEST
hope this helps!
Buck Calabro
Commsoft, Albany, NY
mailto:mcalabro@commsoft.net
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.