bugzillas 1696, 3385 never was a bug
MisterX
b.xavier at internet.lu
Fri Oct 27 16:55:51 EDT 2006
just one issue...
> put the rect of thisgroup into s1
should be the
put the height of btn|fld|graphic "myrealheight" of me into s1
where my the control "myrealheight" has the big rect in the group's
smaller visible rect.
or you can calculate it from the topmost to the bottom most
object within your group.
Note that mousedown|up in disabled buttons in the card work on objects of
the group out of the visible group's rect...
otherwise it works well...
> -----Original Message-----
> From: MisterX
> Sent: Friday, 27 October, 2006 22:47
>
> Dear Richard...
>
[snipt]
>
> Here's the group's script
>
> on rawkeydown w
>
> put the rect of thisgroup into s1 -- << -- here!!!
>
> put the vscroll of me into s
>
> if w is 65309 then
>
> if s <= Cscrollvalue then
>
> set the scroll of me to 0
>
> else
>
> set the scroll of me to s - Cscrollvalue
>
> end if
>
> else if w is 65308 then
>
> if s + Cscrollvalue >= s1 then
>
> set the scroll of me to s1
>
> else
>
> set the scroll of me to s + Cscrollvalue
>
> end if
>
> end if
>
> pass rawkeydown -- may not be required or desired on
> non-opaque/disabled groups but can be essential too for
> libraries that handle this automatically ;)...
>
> end rawkeydown
>
>
> rawkeydown baby!
> X8
> --
> If you want less bugs, you got to have more at some point!
> I shouldn't write to this mailist but I just got the bollocks!
More information about the use-livecode
mailing list