Locking flds of group to scroll

Klaus Major klaus at major-k.de
Fri Jan 19 05:47:30 EST 2007


Hi Sarah and Herschel,

>> > Hi, Is it possible to lock the scroll of flds of a group to  
>> scroll e.g. The
>> > scrolls are not checked but if the lines are more then the fld  
>> shows then
>> > the fld scrolls even without the bar, therefore id like to know  
>> if and "how"
>> > there is a possibility to lock that and only with the group  
>> scroll it should
>> > show the rest of the fld lines
>> Ok, figured that out by now.
>> The question if and how it is possible to scroll the group with  
>> the scroll
>> wheel?
>
> Yes it is. You need to find out what key codes your scroll wheel sends
> to the rawKeyUp or rawKeyDown handlers, then use them to set the
> scroll of your group.
>
> I can't remember what the codes are, but if you write a fake
> rawKeyDown handler, you can get it to "put" the codes it is receiving
> and find out what they are.

These are the rawkey codes for the mousescrollwheel:
65309 (up)
65308 (down)

> Cheers,
> Sarah

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list