Add a scroll bar. Its just a click&drag on the bar. The programming is one word. You need three blank columns on the right hand side (The subfile can't use the whole screen)

Or use SFLRCDNBR(*TOP)

A 91 SFLEND(*SCRBAR *MORE)
A TOPREC 4S 0H SFLRCDNBR(*TOP)


(note: The scroll bar also allows the user to move the subfile up and down one line at a time, which is a pain to do with programming.)


On 2/11/2011 1:29 PM, M. Lazarus wrote:
I have a load-all subfile (not very many maximum records.) What I
would like to do is have a "Move to top" function, similar to UIM
help "F10=Move to top", which moves the help text from cursor line to the top.

Is there a way, without reloading the subfile from that point
onward, to control the first line of the subfile?

-mark



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.