- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
After outputting a bunch (~100 lines) of text to a QWICKWIN window (after SETWINDOWCONFIG(wc)) I would like to scroll to the top so that the user can read the top lines first. I have tried:
CALL MOVETO(int2(1),int2(1),XXYYxy)
and
CALL settextposition(int2(1),int2(1),XXYYrc)
Neither did anything at all! Any suggestions?
CALL MOVETO(int2(1),int2(1),XXYYxy)
and
CALL settextposition(int2(1),int2(1),XXYYrc)
Neither did anything at all! Any suggestions?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure your window has enough buffer lines for your output. For example:
program test ! quickwin use dflib implicit none type (windowconfig) wc integer i if (GETWINDOWCONFIG(wc)) then wc%numxpixels = -1 wc%numypixels = -1 wc%numtextrows = 120 call SETWINDOWCONFIG(wc) end if call clearscreen($GCLEARSCREEN) do i = 1, 100 print *, "Hello, this is line ", i end do pause end program testJames
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for posting such a dumb question!
It was all my fault, I had nadvertently left the folloing statment in my program:
wc.mode = QWIN$SCROLLDOWN
and so, of course, window was scrolled to bottom.
It was all my fault, I had nadvertently left the folloing statment in my program:
wc.mode = QWIN$SCROLLDOWN
and so, of course, window was scrolled to bottom.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page