• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Requesting guidance on maintaining a scroll position in scroll field, please.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Next by Date: do shell script quoting help
  • Next by thread: do shell script quoting help
  • Index(es):
    • Date
    • Thread