|
> but there is NO modification here...only an enter key with no MDT's > touched. Allow me to rephrase: Since your application would know where both subfiles are at all times, it would be able to return to the "current position" without having to remember anything else, and it would be able to go back to any previous position that it found "noteworthy" in some way, simply by defining the conditions by which that position is considered "noteworthy," and saving whatever variables define that position. Assume, for argument's sake, that we define F1=bookmark, F2=return to bookmark, and F5=refresh screen without moving Pseudocode: If (AIDkey = <PgUp> or <PgDown>) then If (CsrRow > DividingLine) then roll lower subfile in desired direction else roll upper subfile in desired direction endif redraw both subfiles endif If (AIDkey = <F1>) then if (csrrow > dividing line) then remember position of lower subfile else remember position of upper subfile endif redraw both subfiles endif If (AIDkey = <F2>) then if (csrrow > dividing line) then return to remembered position of lower subfile else return to remembered position of upper subfile endif redraw both subfiles endif If (AIDkey = <F5>) then redraw both subfiles endif -- JHHL
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.