scrollview can not scroll to the bottom

i have a scrollview and a textview above it. the textview's scroll is disable. when the textview.contentSize.height over the scrollview frame, the scrollview can not scroll to the bottom.

do anyone know why?

--------------Solutions-------------

Because textview receives touches instead of scrollview?

finnaly, i've solved this problem. This problem happen because the scrollview.contentSize < scrollview.frame, so, to make it can scroll until the bottom (in my case, until the last end in textview), i set the scrollview.contentSize > scrollview.frame

Category:ipad Time:2011-01-05 Views:1

Related post

  • How do I know that the scrollview is already scrolled to the bottom? 2010-05-19

    I have a scrollview and I only want an event to happen if it's already scrolled to the bottom but I can't find a way to check if the scrollview is at the bottom. I have solved it for the opposite; only allow the event to happen if it's already scroll

  • How to keep a ScrollView to be scrolled to the Bottom? 2012-02-06

    I have a ScrollView with a LinearLayout inside an I'm adding TextViews. But I always want the last added TextView to be visible, so I need the ScrollView to scroll to the Bottom, when a TextView is added. I don't know why, but when I call scrollto(),

  • How to scroll to the bottom of a ScrollViewer automatically with Xaml and binding? 2011-12-03

    I've got a TextBlock whose content is binded to a string property of the ViewModel. This TextBlock is wrapped around a ScrollViewer. What I want to do is every time the logs change, the ScrollViewer will scroll to the bottom. Ideally I want something

  • TabHost inside a ScrollView forces it it to scroll to the bottom 2012-03-22

    My question is very similar to this unanswered one, with some small differences that I will explain: TabHost inside of a Scrollview: always scrolls down when a Tab is clicked My ScrollView initiates scrolled to the bottom, showing the TabHost content

  • How to automatically scroll to the bottom of an HTML document loaded in a WebBrowser or Frame? 2010-10-25

    I'm using an HTML document to show text output in my application - this gives me the flexibility of HTML and the power of CSS, and I can publish the generated HTML as a log file openable in any browser. When new information is available, I update the

  • Find out if ListView is scrolled to the bottom? 2011-02-25

    Can I find out if my ListView is scrolled to the bottom? By that I mean that the last item is fully visible. --------------Solutions------------- Edited: Since I have been investigating in this particular subject in one of my applications, I can writ

  • check if UIWebView scrolls to the bottom 2012-01-13

    How do I check/call a method when a user is at the bottom of the UIWebView when scrolling? I want to popup a view (add a subiview) when the user is at the bottom of the content. --------------Solutions------------- First get the reference to the UIWe

  • jquery mobile: scrolling to the bottom of the page. issues with iOS 5 2012-02-01

    I have a mobile chat window I made in jQM 1.0.1. It works fine for everything except scrolling to the bottom when new text comes in on iOS 5 specifically (guessing because of touchOverflow being enabled). I basically have a fixed header and footer, a

  • How can I determine if a div is scrolled to the bottom? 2009-05-18

    How do I determine, without using jQuery or any other JavaScript library, if a div with a vertical scrollbar is scrolled all the way to the bottom? My question is not how to scroll to the bottom. I know how to do that. I want to determine if the the

  • How do I check whether the user has scrolled to the bottom of a WebBrowser control in .NET? 2010-01-11

    I am using a WebBrowser control to display a webpage and would like to enable a button on the form, but only if the user has scrolled to the end of the webpage. Is there any way to simply do this without having to override WndProc or something simila

  • How can I get Eclipse to scroll past the bottom of the document? 2010-02-04

    When I scroll to the bottom of an open document in the Eclipse editor, the last line is at the bottom of the file. This is a tad annoying when editing code at the bottom of the file / screen. How can I enable Eclipse to scroll (much like Vim or VS) d

  • how to move scroll at the bottom of list Programmatically? 2010-03-29

    i after calling notifydatasetchanged(); i want to move scroll of list to the bottom of list so that user could see last record in the listview.actually i am writing Chat module so for that purpose i need latest record at the bottom of list. can any o

  • ExtJs How do I scroll to the bottom of a grid? 2010-04-13

    I am making a web-based logviewer using extjs. I would like new log-lines to be added to the bottom of my gridview as it saves cpu by not requiring a sort to move it to the top of the grid (plus its how my coworkers prefer it). My problem is that ide

  • GTK Scolled Window - Keep Scroll Bar at bottom 2010-04-14

    I have a GTK/C++ program that uses a ScrolledWindow. I keep adding data to the list within the scrolled window, and I want to keep focus on the newest item. But I also want to allow the user to scroll through the data to select an old item. Is there

  • How to scroll to the bottom of a UITableView on the iPhone before the view appears 2010-05-05

    I have a UITableView that is populated with cells of a variable height. I would like the table to scroll to the bottom when the view is pushed into view. I currently have the following function NSIndexPath *indexPath = [NSIndexPath indexPathForRow:[l

  • I am looking to create a static menu when a user scrolls near the bottom of the page 2010-05-07

    Using Javascript, Jquery preferably, I want to be able to trigger the visiblity of the div when a user is at a certain page height. NYtimes has an example of this when you scroll to the bottom of a story, a slider pops out with another news story, an

  • ScrollView not MouseWheel Scrolling when not over Control 2010-05-10

    I am using Silverlight 4.0 What is happening is that the ScrollViewer will only scroll when one hovers over controls like textbox, treeviews, etc. If the mouse is over non control objects (like grids) then the mousewheel scrolling doesn't work. Is th

  • How to determine if the user has scrolled to the bottom of the UITableView? 2010-07-01

    How can I determine if the user has scrolled to the last cell/bottom of a UITableView? --------------Solutions------------- UITableView inherits from UIScrollView, and scroll view exposes a contentOffset property (documentation here). Use this with a

  • Use jQuery to scroll to the bottom of a div with lots of text 2010-09-18

    I have a div with a scrollbar on the right when there is a lot of text in it. I tried to use this code to scroll to the bottom of a div when the page loads, but I am not having much luck. How can it be achieved? Style: div.messageScrollArea{ width: 1

Copyright (C) pcaskme.com, All Rights Reserved.

processed in 0.344 (s). 13 q(s)