scrolling

Iphone Uitableview scrolling changing image inside UitableViewCell

Hello, I am displaying some data using a UITableViewController, my table has 2 static sections with 6 static rows each. And I am subclassing UITableViewCell in order to add 3 Labels and a View, in the view i draw an arrow in only one of the cells in one of the sections. This all goes perfectly fine. Till i scroll down... then the arrow...

UITableView won't scroll after editing view frame and origin

I'm trying to implement a UITextView in a table cell at the bottom of a table view. I've tried the suggestions here http://stackoverflow.com/questions/594181/uitableview-and-keyboard-scrolling-problem, and other solutions as well, but they're a bit different because I have to artificially add extra height to the current view in order to...

How does the momentum/inertial scroll work with the Magic Mouse on NSScrollView?

When you scroll with the newer Apple Magic Mouse (at least on 10.6, I can't confirm any previous Mac OS) you get inertial scroll like scrolling on iPhone (that is, after a flick of the finger to scroll, it doesn't abruptly stop, but instead gradually slows down). This behaviour is "for free" with all NSScrollViews, it would appear. Ther...

Virtualize WinForms ScrollableControl - Expensive Child Items

I am building a PDF Viewer using the Atalasoft DotImage libraries. They have a PDF Viewing component, but it doesn't support the Acrobat style PDF continuous layout, I have to display the pages a page at a time. I need to build sort of a virtualizing scrollable control which has probably 3 PDFViewers in it, the current frame, and the on...

How do I keep a wx.html.HtmlWindow at the same position during resize (without flicker)?

I want to be able to resize an html window but keep the scroll position. This example almost works, but flickers. To test: - load a good sized html file using the Load Html File button - scroll down - resize the window. The window keeps its same position through resizes, but it flickers horribly. The code for htmlwindow is resetting t...

UITExtview gains an extra line when it should not

I wonder if there is someone out there that can shed some light as to what is happening in my app. I have created a multiline text box using the UITextView. When the view loads it is a single line textbox and as the user types out their message I increase the size according. Pretty much how the SMS app works. The problem is it is doing ...

UITableView is crashing when trying to edit cell

Hi Guys, I am having some form in that is consisting of 5 custom cells in a table view. Here is the code: - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { return 1;} \- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return 5; } \- (UITableViewCell *)tableView:(U...

jQuery Scroll to bottom of page/iframe

How do I use jquery to scroll right down to the bottom of an iframe or page? ...

TextBox.ScrollToEnd doesn't work when the TextBox is in a non-active tab

Hi Our application starts several background processes and put their output into TextBoxes - each in a separate TabItem in a TabControl. I want the TextBoxes to automatically scroll to show the last output line, so in the data handling function that adds the output/error line to the text box, I also call TextBox.ScrollToEnd(): void OnSe...

Scrollable parent with ListView child

I know it's considered taboo to place a ListView inside a scrolling container, so is there any "proper" way to accomplish scrolling of a container that has a ListView child in it? An example layout would look something like: Header --- "Sub" header --- ListView with list items --- Footer Header and Footer need to remain static on the...

UIImageView slows down app (in a news application)

I have a news application that gets the content from a xml stream- to every news entry belongs a picture.. which one i display in a table cell.. it loads all the content, but it looks like the image in the cells slows the whole scrolling down .. any advice?? thanks in advance swisschris ...

BlackBerry - Background bitmap doesn't fit for scrolling page

Hello all, I have a background bitmap in my Blackberry application screen. Screen has scrolling enabled as i must to have a scroll. The problem which i'm facing is, when i scroll down the page, background bitmap doesn't fit for the scrolled page, rather it shows just plain white background. Do we need to draw the background bitmap for e...

NETCF DataGrid scroll row into view?

Quick question regarding the Compact Framework DataGrid. How can I scroll a particular row into view? We have an application that displays scans in a datagrid. If the user scans a new item I add it to the grid, but if they scan an existing item, I'd like to scroll that item into view. Is there any way to do this? I tried using the foll...

reading from file certain lines at a time in c/c++

Hello, So i have a gui, designed using QT, c++. I have large amount of data in a text file that I would like to read in this fashion: load first 50 lines, when the user scrolls down load next 50 lines and so one. When the user scrolls up load previous 50 lines. Thank you. ...

How to get the displayed text portion in a Flex TextArea

Hi, hi want to know the index of the first character displayed in a scrollable TextArea in Flex3 and i need the last character's index too. Any ideas ? Thanks ...

Disabling middle click scrolling with javascript

Background: I am creating a table reminiscent of whenisgood.net, in that it has click-n-drag toggling for table elements. I want to call different types of toggling code when the left, middle, and right mouse buttons activate a mousedown event. By using JQuery, I'm off to a good start. $(".togglable").bind("contextmenu", function() {re...

Make Scrollbar Max as long? - Vb6

Hey guys, I was working on my vb6 project, and I needed my scrollbar max to reach 40000. Though I can assume that the max was around 32000 since the scrollbar max is an integer. How can I change this? Thanks, Kevin ...

Scrolling a TextView to a specific line

I have a TextView inside a ScrollView. Let's say the ScrollView is named s and the TextView is named t. I have many lines to be displayed in the TextView and at the same time I want to scroll the view to a specific line. So I did this: t.setText(aVeryLongString); int y = t.getLayout().getLineTop(40); // e.g. I want to scroll to line ...

listbox value with one row

I have a to select a number between one to thousand... I dont want to use a dropdown list because there are too many values instead i want the box which has the values to act like a listbox with up and down arrows within the box... I tried using the listbox with one row and it starts acting like a dropdownlist... <asp:ListBox ID="List...

Automatically vertically scroll div contents looping

I am trying to find a simple way to have a div with just text in it automatically scroll the text vertically. I don't want to use a framework (though I do use Prototype, so if it is easier using Prototype then that is fine, but no Scriptalicious). I assume there has got to be a way to do this with a few lines of code, but I am not fami...