Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
Scrolling a memo |
Fri, Nov 8 2013 8:44 AM | Permanent Link |
Matthew Jones | I'd like to scroll a memo to the bottom of the text. This appears to be possible in
javascript, according to http://stackoverflow.com/questions/9170670/how-do-i-set-textarea-scroll-bar-to-botto m-as-a-default var textarea = document.getElementById('textarea_id'); textarea.scrollTop = textarea.scrollHeight; My naieve modification of editDebugReport.scrollTop := editDebugReport.scrollHeight; fails as the properties don't exist. Anyone know how to make this work please? /Matthew Jones/ |
Thu, Nov 14 2013 2:58 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Matthew,
<< I'd like to scroll a memo to the bottom of the text. This appears to be possible in javascript, according to http://stackoverflow.com/questions/9170670/how-do-i-set-textarea-scroll-bar-to-bottom-as-a-default>>You'll have to create a descendant class in order to get access to the Inputelement that you need to work with.I'll see about adding new properties for the scroll left/top - they're inthere for container controls, just not memos.Tim YoungElevate Softwarewww.elevatesoft.com |
This web page was last updated on Tuesday, May 7, 2024 at 06:25 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |