Precisely Speaking
February 08, 2012, 02:05:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: So what's news with you?  Tell us about it in "Getting To Know You"!
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: How do you put an F1 help in a Menu?  (Read 548 times)
DonQuixote
Rock Star
*****
Posts: 101


To Dream the Impossible Dream...


« on: July 15, 2010, 01:32:57 PM »

How do you put an F1 help in a Menu item?
I noticed some menu items display help if you press F1. 
In /MD using (F10 + Help ) there appears to be an option for "Prompt Help (F1)" but then the cursor goes to the menu item's description so I don't understand.
On the bottom of the screen it says:
"Text to appear on the menu for this option. Specify L for separator line in conjunction with type L in Type prompt."
I even edited the menu record that had an F1 help and apparently the F1 help is not kept in the menu record.
Any idea how to accomplish this task?
Logged
Tom Pellitieri
Rock Star
*****
Posts: 166


Tom Pellitieri - Toledo, Ohio


« Reply #1 on: July 16, 2010, 05:39:17 AM »

On my system, the process /OH can be used to add Online Help to a menu option.  When you're in the menu (not /MD), type /OH while on the option, and you will get a line at the bottom to enter the help text.  The program that does this is in our SB+ directory, so I'm hoping this is standard.

The Help Text for all menus is saved in the file xxHELP as <menu>.REM - each attribute corresponds to a menu line.  For example, if you have /MD MY.TESTS with two processes:

Test Item 1 - P - TEST1
Test Item 2 - P - TEST2

you can edit xxHELP MY.TESTS.REM and add help, thus:

001: This option performs Test 1
002: This option performs Test 2

(Crude example, I know, but...)

--Tom
Logged
precisonline
President/Chief Technologist
Administrator
Rock Star
*****
Posts: 1524



WWW
« Reply #2 on: July 17, 2010, 06:20:01 AM »

Tom is spot on with this.  The only thing I'd add is that the /OH process can be restricted via security.  So if it's available, it's the best option.  If it's not available, well, there's always that editing thing as Tom described.
Logged

-Kevin
Accidents "happen"; success, however, is planned and executed.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!