little arrows Increase/decrease a field value

Ken Ray kray at sonsothunder.com
Sat Oct 8 11:52:04 EDT 2005


On 10/8/05 9:25 AM, "Eric Chatonet" <eric.chatonet at sosmartsoftware.com>
wrote:

> In addition, note that the messages are inverted: up arrow triggers
> the scrollbarLineDec(rease) message and the down one the
> scrollbarLineInc(rease) message :-)

Just a quick note for those of you wondering why this is "backwards"...
actually if you think about a field with a bunch of text in it and a taller
scrollbar control to its right controlling the scroll of the field (yes, I
know you can just set the vScrollbar of the field to true, but bear with
me), it makes sense the clicking the down arrow will increase the amount of
scroll of the field, and the up arrow will decrease. It only seems to be
strange when used as an up/down arrow control.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list