Requesting guidance on maintaining a scroll position in scroll field, please.
Requesting guidance on maintaining a scroll position in scroll field, please.
- Subject: Requesting guidance on maintaining a scroll position in scroll field, please.
- From: Brian Christmas <email@hidden>
- Date: Tue, 02 Sep 2014 08:10:23 +1000
G'day scripters
In my latest project, I've got 149 differently colored items in a scroll field, overlain by a button, that when clicked, redraws the text in cycling text styles; plain, bold, italic, bold italic.
Trouble is, the scroll jumps to the top each time, whereas I'd like it to remain focused on the same point.
Is there any way of getting the scroll position before the redraw, then resetting it afterwards?
I thought scrollPoint_() or scrollToPoint_() might have worked, but they only crash the script. someScrollTextField's scrollPoint({x:0,y:200}) format
Thanks in advance,
Regards
Santa |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden