What message reveals a scrollbar's position (change)

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Thu May 26 07:40:13 EDT 2011


Brilliant - thanks Klaus. I had that in my script, but had managed to add a typo when adapting the dictionary example. Rather than check, I assumed that it needed to be passed something from 'up-stream' to work. Aargh! 
Still, solved now - thanks again ;-)
Best,
Keith..
 
On 26 May 2011, at 12:23, Klaus on-rev wrote:

> Hi Keith,
> 
>> Hi folks,
>> I want to track when a field's vertical scrollbar has reached its maximum - whether by dragging the scrollbar or moving within the text to force the scrollbar to max.
>> 
>> The dictionary shows ways to script setting the scrollbar position, (such as set the vScroll) and responding to scrollbarDrag newPosition but none of these seem to cross-refer to the mechanisms to get the scrollbar's position or the message that actually sends the current scrollbar position when it changes?
>> 
>> I'm sure it's one of those 'you need to know the answer to be able to search for it' situations, so what is the secret word?
> 
> maybe "scrollbardrag"? :-)
> 
>> Best,
>> Keith
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de
> klaus at major.on-rev.com





More information about the use-livecode mailing list