page-up page-down

hopea

New Member
Is there any way to make a scrollable dialog-box in character page-up/page-down?

I'm displaying a text file that's been loaded into an array.
 
Dear Hope,

I think you can take help from the SCROLL STATEMENT example r-chose1.p given in the progress help file (windows)

If you are still stuck up, please let me know

Cheers
 
page-up/page-down

Hi Allan.

Scroll only scrolls 1 line at a time. In this particular case we were displaying a formatted report that was written to disk. The best solution was to use the read-file method to read the file into an editor widget.

Thanks for your input.

Hope
 
It is possible but requires a fair amount of manipulation and repetition. We used a scroller in which every line is a line in a down frame with the information generally being held in a db or temp table and being found and displayed in offset from current record by the number of lines of the frame widget when page up/down is used.

This may be what is in the sample file listed above, I've never seen that .p before.
 
Hi,

In the original post it was not mentioned that some disk file needs to be displayed. The requirement was for a dialogbox which displayed contents from an array / temp-table. I thought this may be required for a list-box type of application. For that scenario, the scroll option is best.

However an editor fill-in is better for displaying the contents of a file as it is.

Cheers!!
 
Back
Top