VSCROLL of groups don't work? WAS: getting "maxscroll" of a group?

Björnke von Gierke bvg at mac.com
Sat Feb 13 07:21:59 EST 2010


Oh right forgot your original question:

put the formattedHeight of group 1, the formattedWidth of group 1

On 13 Feb 2010, at 13:17, Björnke von Gierke wrote:

> this code works as expected for me:
> 
> on scrollbardrag
>   put the hscroll of me, the vscroll of me, the scroll of me
> end scrollbardrag
> 
> lockloc = true
> hscrollbar = true
> vscrolbar = true
> 
> On 13 Feb 2010, at 13:06, Klaus on-rev wrote:
> 
>> Hi all,
>> 
>> when trying to fibure this out I found that the VSCROLL of locLocked grougs
>> doens not work somehow?! Rev 4.0 OS X 106.2.
>> 
>> I have an image in a group, larger thatn the group and the set the groups width and heigt to 100.
>> Then I enabled v and h scrollbar for this group and added this script:
>> 
>> on scrollbardrag
>> put the scroll of me & CR & the vscroll of me 
>> end scrollbardrag
>> ## SCROLL = HSCROLL
>> 
>> These values ONLY change when I use th horizontal scrollbar!
>> They stay ZERO when Vscrolloing the gropup???
>> Am I missing somehting?
>> 
>>> Hi all,
>>> 
>>> as the subject says I am looking for a way to calculate the "maxscroll"
>>> (maximum h/v-scroll value) of a LocLocked group with content larger
>>> than the group. Know what I mean?
>>> 
>>> Thanks in advance!
>> 
>> Best
>> 
>> Klaus
>> 
>> --
>> Klaus Major
>> http://www.major-k.de
>> klaus at major.on-rev.com
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list