scrolling

Adding stationary UIButton to UIScrollview

Hi, I am creating an app and on the third layer of the app, the view controller contains a UIScrollView with two images that scroll horizontally. I want to add a button to this view that is stationary with respect to the scroll view. So, the user can scroll the images but the button remains where it is. Is there a way for me to do this? ...

TextView Scrolling Issue..

Hii I was coding for an application that shows the list of running process and i was using TextView to display the running process in screen. I was trying 2 different method for displaying the TextView. In one method i was declearing the TextView in the code itself TextView tv = new TextView(this); this.setContentView(tv); In the sec...

References/examples on design and implementation of graphical tiles?

Remember the game Civilization, where there was a large scrollable map with different behavior of some tiles. Or in Google Maps there is also a map where tiles are loaded with Ajax. Where can I find more information on tiles classes (in C++)? How does a class hierarchy look like to implement a scrollable canvas with tiles? ...

How to enable scroll for nested controls when parent is disabled?

I have lots of nested controls in the panel and I want to disable all of them, but leave scrolls enabled. Basically, I'm setting IsEnabled property of the root element (panel) to false using binding. But this disables scroll as well. Any ideas (except adding IsEnabled to each control instead)? I'm using MVVM. So, in code it looks like t...

How do I scroll my Palm webOS application?

This feels like a dumb newbie question. I'm attempting to follow the Palm's online tutorial for developing a webOS app. I ran palm-generate and tried updating the generated index.html file to have a body with a bunch of content (the word "HELLO" repeated 400 times). When I attempt to load that document in the emulator, I find that I'm...

UIScrollView with UIButton doesn't scroll when touch down on button

Hi, I've got a UIScrollView in my UIView. I've added some UIButtons to the scroll view. If I touch down not on a button and drag, the scroll view drags fine. If I touch down on a button and drag then the scroll view doesn't move. I want the scroll view to always scroll around if dragged and the buttons only get selected on the Touch U...

CSS Semi-fixed Element - follow-up question

This is a follow-on question from this thread: http://stackoverflow.com/questions/2460364/css-semi-fixed-element I implemented kelso's solution and it works perfectly on Firefox and Chrome. However, IE 8 is not playing ball. I have rolled the code out so that you can see the problem I am having on a live website: Gran Via hotels IE i...

Capture a scrolling window contents screenshot

I need to capture a screenshot of the scrolling window's client area, using .NET. My first priority is capturing web page screenshots. But this can be not the only one use case. For example it can be also a text area in the Notepad. Some applications (FastStone Capture, PicPick) can emulate user behavior to reach hidden part of a scroll...

Silverlight 3 ListBox - Provide an animation to control scrolling

By default, the SL3 listbox scrolls items either one item at a time or a few pixels at a time depending on whether virtualization is used. Is it possible to manually control the scroll behavior, maybe say that the ListBox should scroll from 1 item to the next over a period of 2 seconds with a certain easing function? ...

IE: how to trigger body's vertical scrollbar recalculation

I have a problem with a vertical scrollbar on a custom SharePoint list form in IE. After navigating to the add attachment window and returning back the vertical scrollbar goes over the lower edge of the window so that one cannot scroll to the very bottom of the form. Resizing the window fixes this problem so probably if I could to someh...

Problems with div vertical scrollbars on iPad

When a user perform a search on my website I want to show the result in a small div with vertical scrollbars instead of that the user need to scroll the full page. That works perfect in all browsers BUT I get problems on the iPad. I can see that the search result doesn't fit into the div but no scroll bar is showing up on the iPad. Also ...

Smooth text scrolling in C#

hello, i would like to have text that scrolls smoothly on my c# windows form. i tried to define that label with text on it moves pixel by pixel, but it is not smooth as it is like animations created in flash. how can i manage to get such smooth animation? thank you in advance! ...

Mac OS X vs. Windows mouse wheel scrolling

Mac OS X determines what area to scroll by the mouse position. Windows does this by what application is active. So I thought anyway. If Notepad++ is the active application in Windows, I can scroll underlying applications by placing the mouse pointer on them. But this seems like the only application with this behaviour. Windows Explorer ...

Scrolling performance and UIImage drawing

I'm building a UITableView similar to iPod.app's album browsing view: http://cl.ly/2mWo I'm importing all the artists and album artworks from the iPod library on first launch. Saving everything to CoreData and getting it back into an NSFetchedResultsController. I'm reusing cell identifiers and in my cellForRowAtIndexPath: method I have ...

Scroll bar algorithm

Hello guys. I've been trying to create my own custom scroll bar implementation in JavaScript. It must emulate the look and behavior of MS Office 2007 I checked many solutions out there, but nothing satisfies my needs. My main problem is this: How to calculate a balance between the scroll bar height and the number of lines it will move t...

Android scrolling label, how to?

How to add a scrolling label, if the label size is bigger, then xxx DIP? I want to create a scrolling label, than in the market. How to? ...

UITextView scroll only horizontally

Hi, I have one line of text that is too long to be displayed in one single line in a UILabel, so I switched to a UITextView. I wanted to display that text still in one line, and be able to scroll horizontally, but instead, the UITextView will wrap the text into multiple lines, and allow me to scroll vertically. So, for the text "This is...

flex scrolling issue - hopefully simple problem

Hi I am having an issue with scrolling in flex. I am using a large canvas with a number of label objects. A lot of the labels are off-screen until the user scrolls down or up, this is unavoidable due to the amount of information that has to be displayed so I have considered alternatives to this in case anyone is thinking of any. What is ...

scrollbar management of a 'div' with javascript or jquery

Hi Is there a way to control a scrollbar's life depending on the browser size and the 'div' size at the same time in javascript or jquery. For example, if the 'div' content is overflowing then add scrollbar to div and if the browser is resized to a higher height then remove scrollbar from div, since it's gonna be stretched with the brow...

ListView scrolling lag in android

Hi, I am having a customized list view in my application, which is showing an image and text. The Image I am getting from URL, using the code below: private static Drawable ImageOperations(Context ctx, String url, String saveFilename) { try { InputStream is = (InputStream) fetch(url); Drawable d = Drawable.c...