• Subject: Re:Help Panels for Command Prompt
  • From: Buck Calabro <mcalabro@xxxxxxxxxxxx>
  • Date: Fri, 5 Dec 1997 11:36:23 -0500

>I am trying to create  Help Text ( Panels) for a Command Prompt so that the
>Help Text comes up on F1 in the each field.

Create a panel source member.  In this case, I
called it RUNSQLSTM (kinda keeps things together)

Generic help for the command:
.* Extended help                             
.*                                           
:HELP NAME='RUNSQLSTM'.                      
Run a SQL statement                          
:P.                                          
This command executes a single SQL statement.
:EHELP.


Use the following template for each parm:

:HELP NAME='RUNSQLSTM/SQLSTM'.
:P.Specify the SQL statement you want to execute here.   
:EHELP.

The command is named RUNSQLSTM and the parm is
named SQLSTM.

When creating the command, I pointed help panel group
to the panel I created above (RUNSQLSTM), and the 
help identifier for the generic help (RUNSQLSTM)

I have a fairly large example for our home-grown RUNSQLSTM
command.  It has individual help panels for each parm, as
well as more "generic" help.  In addition, it uses the
old search index that RPG used to have (alas no more.)

If you are interested, I can email it.
(David, is this something for the archives?)

Buck Calabro
Commsoft

+---
| 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.