Hi
I use the view print commands in my program. Ignore the various variables shown, but the Head.Statusline prints various things at the top of the QB64 window by calling Window.High and then the Window.Low sub returns the focus to the lower part. I've set my top window as the top 4 lines and the bottom window as lines 5 to 25 (I'm sunning this program in the standard screen 0 or whatever QB64 defaults to). The bottom window can scroll happily with new text. I don't know if it would work the other way round i.e. to fix the lower window for information and scroll the top part.
Sorry if this code isn't copied in correctly - not sure how to do that!
SUB Head.StatusLine
CALL Window.High: COLOR 0, 15
LOCATE 2, 39: PRINT "[Using-> "; "c:\race\rrcmob\";
PRINT "]"; SPACE$(32 - LEN("c:\race\rrcmob\"))
LOCATE 3, 1: PRINT " [File: "; fil$; "]"; SPACE$(8 - LEN(fil$));
PRINT TAB(19); "[Date: "; racedate$; "]";
PRINT TAB(47); "[Recs:"; _TRIM$(STR$(loaded%)); "] "; TAB(62); "[->";
IF pr% = 0 THEN
PRINT "Scrn ] ";
ELSEIF pr% = 1 THEN
PRINT "Print] ";
ELSE
PRINT "Disk ] ";
END IF
PRINT " ";
COLOR 7, 1: CALL Window.Low
END SUB
SUB Window.High
VIEW PRINT 1 TO 4
END SUB
SUB Window.Low
VIEW PRINT 5 TO 25
END SUB