Progress
Results User’s Guide
for UNIX
Logical Choice Box
You call this procedure in Results from within your user file using the following code:
Where the character expression is the text you want displayed in the error message box. For example, after you define a logical variable, you can call this procedure. Include the name of the logical variable in the procedure. Also, include text strings for the first choice, the second choice, and the text that appears at the top of the box. For example:
If you use a question mark (?) as the character string for the first box and second box, the boxes default to yes and no values. You can include text strings, such as ENABLE and DISABLE or ON and OFF.
For example, this code produces the logical choice box shown below.
![]()
The initial value of the first parameter to
INPUT-OUTPUT
sets the default choice. For example, if the value of the first parameter toINPUT-OUTPUT
is true, the highlight bar rests on the left option (the true value). If the first parameter toINPUT-OUTPUT
is false, the highlight bar rests on the right option (the false value).
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |