Re: [Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-10-01 Thread gdgqler


On 30 Sep 2009, at 17:05, John Gilpin wrote:

I don't confess to fully understand what you are suggesting might be  
the cause of my problem but I am prepared to add an extra window  
over the whole screen (borderless, I presume) to see if it provides  
a solution. I will report back later.




I think the answer to the problem is better, or perhaps only, solved  
by using a second channel for the redefinitions of #4. With the code  
sent to me, and trying it out with QPC2 and Q60 screen sizes 512x256,  
I found that substituting #5 for #4 after the first definition of #4  
allowed the top border to remain. Leaving the redefinitions of #4  
unchanged caused the top border to disappear on both QPC2 and Q60.


George
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-09-30 Thread gdgqler


On 29 Sep 2009, at 15:54, John Gilpin wrote:

Many years ago, I wrote some BASIC code to assist me in putting  
together a ONE NAME study as part of our genealogical activity.  
Recently, my trusty Aurora/SGC/QuBide set-ups have been letting me  
down and I have been advised (as a precaution) to transfer all the  
programs and data across to QPC2 on my PC. For various reasons, the  
original BASIC programs are returning various error reports (most of  
which are the results of not thoroughly thinking the job through  
whilst writing the code) so I am revisiting the programs from  
scratch - Thank goodness for all the REM Statements!! :-)


The BOOT not only loads various toolkits and sets up some hotkeys  
etc and then goes on to layout what I have called a GENERAL MENU  
SCREEN which offers various choices for the rest of the program.  
This screen, I use over and over again at various stages in the  
program and consists of various WINDOW statements with BORDER,  
PAPER, INK, CSIZE parameters being set. I finish up with the whole  
of the 512x256 available screen being split up by 2 pixel wide  
BORDERS. This routine runs perfectly on my Aurora/SGC set-ups in  
either QDOS - JS Roms - or SMSQ but when I run the same boot in QPC2  
v3.34 beta 3, I tend to lose the top and both side borders  
completely and just have various horizontal lines across the screen.


My PC is running WINDOWS VISTA home premium with service pack 2.

Can anyone suggest what may be happening and offer any advice on how  
to cure this problem?


I can post the listing if anyone wants to try it out.



I use virtually the same boot on Aurora/SGC, Q40/60, SGC and QPC2  
v3.34 beta 3 with  Windows 98 and Windows XP. Any borders I have work  
in the same way in all machines. I would have to see the actual code  
to comment further.


George 
___

QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-09-30 Thread John Gilpin

George,

Will send copy of code off list.

Thanks for your interest.

John G.



gdgqler wrote:


On 29 Sep 2009, at 15:54, John Gilpin wrote:

Many years ago, I wrote some BASIC code to assist me in putting 
together a ONE NAME study as part of our genealogical activity. 
Recently, my trusty Aurora/SGC/QuBide set-ups have been letting me 
down and I have been advised (as a precaution) to transfer all the 
programs and data across to QPC2 on my PC. For various reasons, the 
original BASIC programs are returning various error reports (most of 
which are the results of not thoroughly thinking the job through 
whilst writing the code) so I am revisiting the programs from scratch 
- Thank goodness for all the REM Statements!! :-)


The BOOT not only loads various toolkits and sets up some hotkeys etc 
and then goes on to layout what I have called a GENERAL MENU SCREEN 
which offers various choices for the rest of the program. This 
screen, I use over and over again at various stages in the program 
and consists of various WINDOW statements with BORDER, PAPER, INK, 
CSIZE parameters being set. I finish up with the whole of the 512x256 
available screen being split up by 2 pixel wide BORDERS. This routine 
runs perfectly on my Aurora/SGC set-ups in either QDOS - JS Roms - or 
SMSQ but when I run the same boot in QPC2 v3.34 beta 3, I tend to 
lose the top and both side borders completely and just have various 
horizontal lines across the screen.


My PC is running WINDOWS VISTA home premium with service pack 2.

Can anyone suggest what may be happening and offer any advice on how 
to cure this problem?


I can post the listing if anyone wants to try it out.



I use virtually the same boot on Aurora/SGC, Q40/60, SGC and QPC2 
v3.34 beta 3 with  Windows 98 and Windows XP. Any borders I have work 
in the same way in all machines. I would have to see the actual code 
to comment further.


George___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-09-30 Thread Bob Spelten

Op Tue, 29 Sep 2009 16:54:01 +0200 schreef John Gilpin
thegilp...@btinternet.com:

This routine runs perfectly on my Aurora/SGC set-ups in either QDOS -JS  
Roms - or SMSQ but when I run the same boot in QPC2 v3.34 beta 3,I tend  
to lose the top and both side borders completely and just havevarious  
horizontal lines across the  screen.


My PC is running WINDOWS VISTA home premium with service pack 2.


One reason for this to happen might be found outside the SBasic.
If the Resolution and Window Mode as configured in the SMSQ/E startup menu
are not equal, then lines of pixels may be lost or doubled because the
Resolution is stretched or shrunk to fit the Window Mode.
This can also happen if you start up with equal values in windowed mode
but switch to full screen with C/S/F12 or QPC_MAXIMIZE. Especially on
LCD/laptops this may look ugly.

Bob

--
Gemaakt met Opera's revolutionaire e-mailprogramma:
http://www.opera.com/mail/
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-09-30 Thread John Gilpin

Hi Bob,

I have checked the settings in the config screen and both the Resolution 
and Window Mode are the same - 512 X 384 and it doesn't seem to make any 
difference whether I run with Window Mode ticked or not, I get the same 
result. Similarly, when QPC2 opens up it is a small window in the middle 
of the screen. If I leave this alone, I can still see that the top 
border is missing OR if I maximise this window using the icon at the top 
right of the window, then the image fills the screen but still with the 
top border missing.


One thought is that as I have utilised the whole screen 512 X 256 with 
bordered windows, it may be that the cursor is trying to get to the 
bottom of the screen and is causing the whole screen to scroll by one 
line thus pushing the top border off the screen. If this is the case, 
how would I correct this? Would I have to reduce the bottom window by 1 
pixel or by 10 pixels (one character height)? or just play with it and see?


Thanks for your suggestions - I'm getting to the stage of making some 
suggestions for myself but they are not printable!! :-(


Regards,

John G. (Frustrated!)



Bob Spelten wrote:

Op Tue, 29 Sep 2009 16:54:01 +0200 schreef John Gilpin
thegilp...@btinternet.com:

This routine runs perfectly on my Aurora/SGC set-ups in either QDOS 
-JS Roms - or SMSQ but when I run the same boot in QPC2 v3.34 beta 
3,I tend to lose the top and both side borders completely and just 
havevarious horizontal lines across the  screen.


My PC is running WINDOWS VISTA home premium with service pack 2.


One reason for this to happen might be found outside the SBasic.
If the Resolution and Window Mode as configured in the SMSQ/E startup 
menu

are not equal, then lines of pixels may be lost or doubled because the
Resolution is stretched or shrunk to fit the Window Mode.
This can also happen if you start up with equal values in windowed mode
but switch to full screen with C/S/F12 or QPC_MAXIMIZE. Especially on
LCD/laptops this may look ugly.

Bob


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-09-30 Thread Bob Spelten

Op Wed, 30 Sep 2009 13:28:46 +0200 schreef John Gilpin
thegilp...@btinternet.com:


I have checked the settings in the config screen and both the Resolution
and Window Mode are the same - 512 X 384 and it doesn't seem to make any
difference whether I run with Window Mode ticked or not, I get the same
result. Similarly, when QPC2 opens up it is a small window in the middle
of the screen. If I leave this alone, I can still see that the top
border is missing OR if I maximise this window using the icon at the top
right of the window, then the image fills the screen but still with the
top border missing.

One thought is that as I have utilised the whole screen 512 X 256 with
bordered windows, it may be that the cursor is trying to get to the
bottom of the screen and is causing the whole screen to scroll by one
line thus pushing the top border off the screen. If this is the case,
how would I correct this? Would I have to reduce the bottom window by 1
pixel or by 10 pixels (one character height)? or just play with it and  
see?


Thanks for your suggestions - I'm getting to the stage of making some
suggestions for myself but they are not printable!! :-(


What happens if you increase the SMSQ/E resolution to say 600x480.
Then the 512x256 boot windows fall well within the outline.
Does the problem still exist then?
Unwanted scrolls should not push borders of the window unless the scolling
is done in an unseen but overlapping window.


John G. (Frustrated!)


Don't get frustrated, see it as a chalenge. ;-)

Bob

--
Gemaakt met Opera's revolutionaire e-mailprogramma:
http://www.opera.com/mail/
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-09-30 Thread gdgqler


On 29 Sep 2009, at 15:54, John Gilpin wrote:



Can anyone suggest what may be happening and offer any advice on how  
to cure this problem?


I am pretty certain that the answer to the problem lies with the way  
the Pointer Environment works. One of its nicest features is the way  
it deals with non PE programs. Each PE program has an outline so  
that, amongst other things, what was underneath it can be redisplayed  
when it is moved. Each non PE program is given an outline which is  
effectively the smallest rectangle containing all its windows. If one  
of these windows is altered then a new outline is defined for it by  
the PE software.


In the BOOT program there is a GENERAL MENU SCREEN which is used over  
and over again. At  each
redefinition the outline may change.  This will explain why the  
borders disappear. I am surprised that so much seems to remain!


I remember a long time ago looking at one of Simon Goodwin's programs  
in the Turbo range. In one of these a window was redefined in such a  
way that, under PE, half the necessary information printed in the  
earlier definition of the window disappeared. Under the original non  
PE QL everything put on the screen remained until overwritten. Hence  
the need for the F4 key to refresh the screen of a programs accessed  
by CTRL/C (provided, of course, that they had an active cursor  
otherwise they were lost).


The advice for a cure might be to open a second window, which need not  
be used, over the whole screen.


George
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


[Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-09-29 Thread John Gilpin
Many years ago, I wrote some BASIC code to assist me in putting together 
a ONE NAME study as part of our genealogical activity. Recently, my 
trusty Aurora/SGC/QuBide set-ups have been letting me down and I have 
been advised (as a precaution) to transfer all the programs and data 
across to QPC2 on my PC. For various reasons, the original BASIC 
programs are returning various error reports (most of which are the 
results of not thoroughly thinking the job through whilst writing the 
code) so I am revisiting the programs from scratch - Thank goodness for 
all the REM Statements!! :-)


The BOOT not only loads various toolkits and sets up some hotkeys etc 
and then goes on to layout what I have called a GENERAL MENU SCREEN 
which offers various choices for the rest of the program. This screen, I 
use over and over again at various stages in the program and consists of 
various WINDOW statements with BORDER, PAPER, INK, CSIZE parameters 
being set. I finish up with the whole of the 512x256 available screen 
being split up by 2 pixel wide BORDERS. This routine runs perfectly on 
my Aurora/SGC set-ups in either QDOS - JS Roms - or SMSQ but when I run 
the same boot in QPC2 v3.34 beta 3, I tend to lose the top and both side 
borders completely and just have various horizontal lines across the screen.


My PC is running WINDOWS VISTA home premium with service pack 2.

Can anyone suggest what may be happening and offer any advice on how to 
cure this problem?


I can post the listing if anyone wants to try it out.

cheers,


John Gilpin.


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-09-29 Thread Ralf Reköndt
A bit of a code would be helpful...;-). Have you investigated any statement, 
which makes your window looking so different?


Cheers...Ralf

- Original Message - 
From: John Gilpin


This routine runs perfectly on my Aurora/SGC set-ups in either QDOS - JS 
Roms - or SMSQ but when I run the same boot in QPC2 v3.34 beta 3, I tend 
to lose the top and both side borders completely and just have various 
horizontal lines across the screen.


My PC is running WINDOWS VISTA home premium with service pack 2.

Can anyone suggest what may be happening and offer any advice on how to 
cure this problem?


I can post the listing if anyone wants to try it out. 


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Help with BASIC/SBASIC WINDOWS

2009-09-29 Thread John Gilpin

Hi Ralf,

I will send you the boot file privately - no attachments on the list and 
it's a bit big to put into an email. Please feel free to put any part of 
it on the list if you think that others may help.


Regards,

John Gilpin.



Ralf Reköndt wrote:
A bit of a code would be helpful...;-). Have you investigated any 
statement, which makes your window looking so different?


Cheers...Ralf

- Original Message - From: John Gilpin

This routine runs perfectly on my Aurora/SGC set-ups in either QDOS - 
JS Roms - or SMSQ but when I run the same boot in QPC2 v3.34 beta 3, 
I tend to lose the top and both side borders completely and just have 
various horizontal lines across the screen.


My PC is running WINDOWS VISTA home premium with service pack 2.

Can anyone suggest what may be happening and offer any advice on how 
to cure this problem?


I can post the listing if anyone wants to try it out. 


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm