Blitz (106/218)

From:David McMinn
Date:18 Aug 2001 at 01:36:56
Subject:Re: GTScroller resolution

On 17 Aug 01, at 19:23, Thilo broke out long enough to write:

> 1. Big values (>>64000) will confuse the
> Scroller, it shows wrong sizes.
> I guess there is a limit because uword was
> used.

Well, Blitz cannot use unsigned variables properly. The commands will treat
numbers as unsigned, but if you try to print them using the Print command,
you will see the negative number. Performing comparisons on variables also
treats them as unsigned.

I will have a look at making the values for top, total and visible into
longwords - it should be OK, as I think the OS uses tham as longwords.

> 2. If I set e.g. visible to 1 and total to 8 and
> top to 0, then the container shrinks to the
> minimum size and you can not move it
> when you click into the empty space below it.
> You can only move it when clicking on the container
> and move the mousepointer.

It's because you have visible set to 1. I just tried it using nothing but
the OS directly and it does the same thing, so that is not a bug in the
Blitz library.

[) /\ \/ ][ [) |\/| c |\/| ][ |\| |\| | dave@blitz-2000.co.uk
http://members.nbci.com/david_mcminn | ICQ=16827694

---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie