positioning graphics in relation to a line in a text field

Mark Wieder mwieder at ahsoftware.net
Tue Apr 2 16:07:22 EDT 2013


Michael Doub <mikedoub at ...> writes:

> Thanks Tom.  Mark, what are some of the complications

Don't know about iOS, maybe there are other things to take care of, but in
general you have to catch all the scrollbar events: scrollbarDrag,
scrollbarLineInc, scrollbarLineDec, scrollbarPageInc, scrollbarPageDec, and
change the location of the graphic accordingly. And if the field is editable you
also have to handle the up-arrow, down-arrow keys. And account for the fact that
the user can insert and delete lines.

-- 
 Mark Wieder
 mwieder at ahsoftware.net








More information about the use-livecode mailing list