[flexcoders] Binding scroll position to the selected index

2006-10-12 Thread Daniel Wabyick

I would like to configure a List class so that it will automatically 
scroll to show the selected item whenever the selected index/item 
changes.  I can't see anyway to bind that using the standard List class, 
and it seems like I will have to subclass it in order to work.  Am I 
missing an easier solution?

Thanks,
-D
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



RE: [flexcoders] Binding scroll position to the selected index

2006-10-12 Thread Tracy Spratt












It sounds like you are setting the selectedIndex
programmatically, so maybe you could use the valueCommit event to do:

valueCommit=”myList.verticalScrollPosition=myList.selectedIndex”

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Wabyick
Sent: Thursday, October 12, 2006
5:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Binding
scroll position to the selected index



 








I would like to configure a List class so that it will automatically 
scroll to show the selected item whenever the selected index/item 
changes. I can't see anyway to bind that using the standard List class, 
and it seems like I will have to subclass it in order to work. Am I 
missing an easier solution?

Thanks,
-D






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___