× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Instead of conditioning it, just set the TOPREC field name to 1 unless you have a reason to set it to a higher value. For instance you can do (TOPREC = number-of-records - page-size) to show a full last panel on start up.


On 2/11/2011 3:41 PM, Joe Pluta wrote:
Nope, you can't condition it. At least I couldn't do it; the system
complained.

Joe
Booth, Joe,

Thanks - I had forgotten about the *TOP keyword. I'll try it out
next week. I'm assuming that it can be conditioned, so that I have
the option to either have *TOP or the RRN specified.

The scrollbar is an interesting option (which I have used in the
past.) I would like to implement it for this program, but I don't
think that all emulators support them. Plus, the size of the data on
the screen is too large to accommodate it.

-mark

At 2/11/2011 03:33 PM, you wrote:
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

--
Booth Martin
802-461-5349
http://www.martinvt.com



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.