Section |
---|
Column |
---|
| The Goal of This ExampleShow how a Universal Display File can work in tandem with a Rich Display File's List Box Widget's choices URL property. You could also utilize the choices URL property within a Combo Box Widget, but this example will be using a List Box Widget. Info |
---|
title | Files Used by This Example |
---|
| Below are downloadable versions of the files used in this example: |
|
|
...
After compiling the Universal Display File (COLORSD
) and the Rich Display File (SHOWCOLORD
) the corresponding RPG programs, COLORSR
and SHOWCOLORR
, may be compiled and then the program run.
To run the program, login to a Genie session and use EDTLIBL
or ADDLIBLE
to make sure the libraries where the program files are stored are in the library list. Please make sure that PROFOUNDUI
is included in your library list. Then Then you may run the command CALL YOURLIBRARY/SHOWCOLORR
. This will to run your program and you can display the colors after highlighting a color name and pressing the Ok button, double-clicking the color, or selecting a color and pressing the 'Enter' key on your keyboard.
Section |
---|
Column |
---|
|
|
Column |
---|
| Info |
---|
| Actions in Order: - Select Silver -> Click Ok
Select Red - Scroll down using ▼ of the scrollbar
- Double-click Olive to select and pass to program
- Select Maroon -> Press "Enter" on keyboard
- Click Exit to exit the program
|
|
|
...