Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multiple Windows Subfiles - PageUp/Page Down

413 views
Skip to first unread message

Gary Segal

unread,
Nov 24, 2009, 11:30:40 AM11/24/09
to

Hello
I need some Help...

I have multiple load all subfiles(window) on the screen(up to 9)

you can see a screen shot here:
http://picasaweb.google.com/computercenturyinc/ScreenShot#5407441974125800514

Cursor is not restricted to the window.

my problem is that I can not roll any subfiles other thern the 1st
one.

I understand that the problem somewhere in the code. It is the way I
display them, but how can I display 2 exfmt at once?

C 17 Write SflCntl5
C 14 Write SflCntl4
C 11 Write SflCntl3
C 47 Write SflCntl2
C 44 Write SflCntl1
C 44 Read SflCntl1

Any Help will be greatly appriciated.
Thank you
Gary

Roscoe

unread,
Nov 24, 2009, 11:40:39 AM11/24/09
to
On Nov 24, 10:30 am, Gary Segal <computercentury...@gmail.com> wrote:
> Hello
> I need some Help...
>
> I have multiple load all subfiles(window) on the screen(up to 9)
>
> you can see a screen shot here:http://picasaweb.google.com/computercenturyinc/ScreenShot#54074419741...

>
> Cursor is not restricted to the window.
>
> my problem is that I can not roll any subfiles other thern the 1st
> one.
>
> I understand that the problem somewhere in the code. It is the way I
> display them, but how can I display 2 exfmt at once?
>
> C   17              Write     SflCntl5
> C   14              Write     SflCntl4
> C   11              Write     SflCntl3
> C   47              Write     SflCntl2
> C   44              Write     SflCntl1
> C   44              Read     SflCntl1
>
> Any Help will be greatly appriciated.
> Thank you
> Gary

C 17 Write SflCntl5
C 14 Write SflCntl4
C 11 Write SflCntl3
C 47 Write SflCntl2
C 44 Write SflCntl1
C 44 Read SflCntl1

C 17 Write SflCntl5
C 11 Write SflCntl3
C 47 Write SflCntl2

C 44 Wirte SflCntl1
C 14 Write SflCntl4
C 14 Read SflCntl4

C 17 Write SflCntl5
C 11 Write SflCntl3
C 44 Write SflCntl1
C 14 Wirte SflCntl4
C 47 Write SflCntl2
C 47 Read SflCntl2

Load the above in subroutines and assign a unique indicator to the
subfile next change. This should tell which subfile the user worked in
last.

Gary Segal

unread,
Nov 24, 2009, 12:31:33 PM11/24/09
to
> last.- Hide quoted text -
>
> - Show quoted text -

I am sorry, But I do not understand how sfl next change can solve my
problem.
All I need is to roll up or down. I do not need to change anything.
currently, Subfile 1 is active, when I put the cursor on subfile 2 or
3 or 4 etc...... and try to pagedown - Cursor jumps to the first(1)
subfile and pagedown it.
Any Ideas?
Thank you


Roscoe

unread,
Nov 24, 2009, 1:19:57 PM11/24/09
to
> Thank you- Hide quoted text -

>
> - Show quoted text -

The point is a subfile formats and all formats to be accessed must
have a write followed by a read. This is why your program all has
subfile format 1. Use the position cursor key word with a unique
indicator See it is the only subfile format that has a read and write.
You may need to test it but the add RTNCSRLOC key word and test it and
change the read and write for the subfile to the location of the
cursor. Use the CSRLOC to place the cursor at the right subfile.

RTNCSRLOC = 10;
write, 2,3,4,5 write 1 and read 1;
RTNCSRLOC = 20;
write, 1,2,3,4 write 5 and read 5;
and on and on

You'll need to work with this but at least you've got the idea.Let me
know if you need more help

C 17 read SflCntl5
> > C 14 read SflCntl4
> > C 11 read SflCntl3
> > C 47 read SflCntl2
> > C 44 read SflCntl1

Peter Zich

unread,
Nov 24, 2009, 1:24:32 PM11/24/09
to
Hi Gary,

I have a screen with 3 subfiles (but not in "windows").
If I move the cursor to one of this subfiles, and then press page-up or
page-down, the subfile "under" the cursor scrolls ...
The control-records are defined with:
- SLCTL
- SFLCLR
- SFLDSPCTL
- SFLDSP
- SFLSIZ
- SFLPAG
- OVERLAY

I don�t know if there is a difference to subfiles in windows ..

-- Peter


"Gary Segal" <computerc...@gmail.com> schrieb im Newsbeitrag
news:db7a2609-e844-4e87...@m20g2000vbp.googlegroups.com...

Gary Segal

unread,
Nov 24, 2009, 1:26:51 PM11/24/09
to
> > > C   44              read     SflCntl1- Hide quoted text -
>
> - Show quoted text -- Hide quoted text -

>
> - Show quoted text -

Thank you very miuch ---
I will work on it.

jonathan bailey

unread,
Nov 25, 2009, 5:22:50 AM11/25/09
to
"Gary Segal" <computerc...@gmail.com> wrote in message
news:db7a2609-e844-4e87...@m20g2000vbp.googlegroups.com...

I think Peter is right & its down to the windows. Once you activate a window
then the display is restricted to that window. I have had several sfls
working at once but never in separate windows. You can of course fake
windows by supplying a 'nice' rectangle with clrl no. I think you might be
out of luck getting the subfiles to work on the same lines as each other
though. You may have to fake them as well. You can 'simply' enable page
up/down at displayfile level & return the cursor position when the key is
pressed. Maybe its easier to have an Fkey for each window & have the user
toggle from one too the next. I think you can get the Fkey as a kind of
title in the window border itself.

HTH.
--
Jonathan


0 new messages