Determining which scrollbar was scrolled in a field with both H and V scrollbars

DunbarX at aol.com DunbarX at aol.com
Tue Jun 9 09:42:51 EDT 2009


If you trap the rawKeydown message:

on rawkeyDown tKey
   put tKey into yourVar
end rawKeyDown

tKey will give you the scroll, for example, scroll down gives "65308" and 
scroll up gives "65309"

Craig Newman


In a message dated 6/9/09 9:13:47 AM, paul at researchware.com writes:


> This may be a dumb question, but does anyone know of a way to determine
> which scrollbar (horizontal or vertical) was scrolled in a field with
> both a horizontal and vertical scrollbar when the scrollBarDrag message
> (or any of the scrollBar* messages) are sent to that field?
> 




**************
Download the AOL Classifieds Toolbar for local deals at your 
fingertips. 
(http://toolbar.aol.com/aolclassifieds/download.html?ncid=emlcntusdown00000004)



More information about the use-livecode mailing list