Has anybody ever tried to couple two scrolling text view such, that if one is scrolling, the other is scrolling, too ? How would I do that ? Karl __________________________________________________________
Important Note: This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Hi Karl, you can register as a dependent to the two scrollViews' scrollOffsetHolder and then update the other's scrollOffsetHolder accordingly whenever one of the value holders changes it's value. Kind Regards Karsten -- Karsten Kusche - Dipl. Inf. - [hidden email] Georg Heeg eK - Köthen Handelsregister: Amtsgericht Dortmund A 12812 On Dienstag, 10. Mai 2011 at 14:55, BREITH Karl-Albert (AREVA) wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by BREITH Karl-Albert (AREVA)
Start with something like view scrollOffsetHolder expressInterestIn: #value for: self sendBack: #whatever. HTH Thomas Am 10.05.2011 14:55, schrieb BREITH Karl-Albert (AREVA):
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Karsten Kusche
Updating one scrollOffsetHolder based on the other is straightforward. Updating each based on the other can result in endless update loops, so you might temporarily suspend interest in a scrollOffsetHolder's updates while you're updating it. [hidden email] From: Karsten Kusche <[hidden email]> To: BREITH Karl-Albert (AREVA) <[hidden email]> Cc: [hidden email] Sent: Tue, May 10, 2011 8:12:41 AM Subject: Re: [vwnc] Coupling of scrolling text views Hi Karl, you can register as a dependent to the two scrollViews' scrollOffsetHolder and then update the other's scrollOffsetHolder accordingly whenever one of the value holders changes it's value. Kind Regards Karsten -- Karsten Kusche - Dipl. Inf. - [hidden email] Georg Heeg eK - Köthen Handelsregister: Amtsgericht Dortmund A 12812 On Dienstag, 10. Mai 2011 at 14:55, BREITH Karl-Albert (AREVA) wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |