Progress
Help Development
Guide


Specifying Help Strings with the Progress 4GL

The alternative to associating help strings with database fields is to define help strings as a part of field-level widgets that contain the data. To attach a help string to a field-level widget, use the HELP option of the Format phrase specified with the following 4GL statements: DEFINE FRAME, ENABLE, FORM, PROMPT-FOR, SET, or UPDATE. The following code shows an example using the DEFINE FRAME statement:

DEFINE FRAME FRAME-A
		BUTTON-1 AT ROW 4 COL 12
			HELP "Choose to cancel the operation and exit."
 		WITH 1 DOWN NO-BOX OVERLAY SIDE-LABELS
 			AT COL 1 ROW 1
 			SIZE 74 BY 11. 

In Progress, the Format phrase HELP option is the only way to define help strings for widgets not associated with database fields. Help strings defined with the HELP option override any help strings specified for associated database fields in the Data Dictionary. For more information on the HELP option, see the Format Phrase reference entry in the Progress Language Reference.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095