scrolling

Google gmail on iPad: how do they scroll just the right hand side of the page?

I am trying to do (EDIT: on a web-app destined primarily for the iPad) what Google does in gmail for iPad: the left-hand pane containing the list of messages stays put, and the right hand side of the screen (the message content pane) can be scrolled vertically with a touch-gesture. How is this division of the page with right-side-only ...

Can I change the UIPopover animation anchor point?

I'm attempting to achieve a "drop down" menu effect with a UIPopover. When I change the height from 0px to 500px it appears to stretch 250px up and 250px down... essentially anchoring the UIPopover at the original spawn point on center. I would like the anchor to be the top of the popover, so that when I adjust the size it is the bottom...

For iPhone or iPad development, how do you create a scrollable view so you can place more on a screen?

I have an iPad app out on the app store which I'm interested in making an iphone version for. The whole screen is used in the iPad app, with basic strings that display information. How could I bring all that to the iPhone and make it scrollable? For example, to make it fit on the phone I would have the title on top, then a string statin...

Synchronized Scrolling Components Delphi

I am trying to synchronize the scrolling of two TDBGrid components in a VCL Forms application, I am having difficulties intercepting the WndProc of each grid component without some stack issues. I have tried sending WM_VSCROLL messages under scrolling events but this still results in the incorrect operation. It needs to work for clicking...

Find the scroll unit of a window

Hi, I'm trying to find a way to compute the scroll unit (num. of pixels the screen moves down when u click once on the down arrow in the scrollbar). The msdn documentation for SB_LINEUP says : Decrements the scroll box position; scrolls toward the top of the data by one unit. In each case, a unit is defined by the application ...

Given a set of top/bottom pixel ranges, how do I find which one has been scrolled into?

The Problem As the page is scrolled from top to bottom, the user will pass through these ranges. Suppose they are values in an alphabetical address book: as they scroll from top to bottom, they will pass from A to Z. There are tabs on the side labeled with the names of sections in the document, labeled 'Aa-An', 'Am-As', etc. What I wan...

IE8 vertical scrollbar problem

i have a problem in ie8, my site is http://www.2sinfotech.com/demo/guitar// when i click on join now or other link like faq. i didn't get vertical scrollbar in my site. some time i get scroll or some time not. ...

Silverlight 4, How to Dynamic load rows into a data grid based on scrolling?

I have a datagrid and a PagedCollectionView with more than 1000 objects and a pagesize of 100. How can I add the PagedCollectionView to the datagrid such that when its scroll bar riches the bottom end will add an additional 100 rows to the datagrid? ...

Setting ListView scroll position nicely in Android

I am aware of setSelection(), setSelectionFromTop(), and setSelectionAfterHeaderView(), but none of them seems to do what I want. Given an item in the list, I want to scroll so that it is in view. If the item is above the visible window of the list, I want to scroll until the item is the first visible item in the list; if the item is b...

Making these arrows scroll? jquery & html

I am trying to create a little filmstrip with images. I want to be able to scroll horizontally to view all of the images. I have: <div class="gallery"> <div class="back" style="opacity: 0.6;"></div> <div class="thumbs"> <ul class="ad-thumb-list"> <li> <img id="thumb01" src="../jpeg/t...

Synchronizing Multiline Textbox Positions in C#

I have a C# application wherein there are two multiline textboxes side-by-side, each in one side of a split-container. I would like to synchronize their vertical scroll, so that when the user scrolls up or down one of the textboxes, the other textbox scrolls respectively in the same direction. Is there a way to do this? Thanks. ADDIT...

Jquery: Automatically сalculate div width to prevent horizontal scrolling

Hi Have a "liquid" layout that has fixed width for left side and "elastic" right side. For some reasons can't change markup of the layout. The trouble is: Sometimes the right side becomes very wide (depending on the content inside) and horizontal scrolling appears. Is there an ability to control max width of the right side to preven...

ScrollTo horizontal problem- top div contents briefly show in bottom div on nav. click

I am using ScrollTo and LocalScroll on my single page site, which scrolls in all directions. I have four large divs inside a wrapper, two on top and two below those. Each div is a 'page' of the site. Onload, the page goes to the 'home' div anchor, at the bottom left of the window/page. My issue is that anytime I try to scroll horizonta...

html fixed header table scrollbar

I've tried several methods to get a scroll bar from html table with a fixed header but had no luck. I think I need a solution where the header is somehow "attached" to the table body (rather than the typical nested table solution). Every solution I tried messes up the width of the header columns and the body columns. In other words th...

Navigating Two (or More) ListView's Next to Each Other

Hi. I'm working on an Android app that requires the use of two (or more) ListView's positioned next to each other. I am at the moment using Android 1.6 and running in an emulator. I was able to successfully implement the basics with two ListView's as shown in the first image: However I need some help in the navigation (with the direct...

Footer is sticking to bottom = good, but main content has scrolls as if footer is fixed = bad

Check my link below. I have my footer stick to the bottom of the screen if you have a large screen, but now if you are on a smaller screen, there is a scroll bar that appears before the footer. Why is this? http://boldstyle.allthingswebdesign.com/something.php ...

Silverlight canvas scrollbars

I have read that placing a canvas inside a scrollviewer won't work because the canvas does not report its size. I have been experimenting with different containers (borders, grids, canvases and scrollviewers) and could really do with a simple explanation of how scrollviewers behave within nested containers. e.g. If I have a container h...

Is it possible for WinForm controls (Panel,etc.) to grow like a webform control?

Hello, I'm converting an app from ASP.NET WebForms to WinForms. There is one asp.net page which contains a ListView/Repeater that contains several custom controls, which in turn contain a ListView with other custom controls. Basically the layout looks like a TreeView, but on each node/leaf there are few controls like comboboxes, etc. Wh...

How to replicate UISearchBar scrolling behavior in Notes.app?

When you scroll a tableView down (Notes.app), the search bar stays fixed to top, but when you scroll a tableView up, the search bar is hidden. That's what I want. Looking at scroll indicator it appears that UISearchBar is a subview of a table's scroll view. But if I add a search bar to a tableView in Interface Builder, then it always sc...

Android extremely long text: scrolling ideas?

I have been asked to build an app that lets the user scroll massive amounts of text. The text will be several thousand of pages long. (Each page has and ID so we'll have a navigator too.) Question: What's the best approach to have a lot of text scroll but load on demand more text as needed (up or down). I don't want to load the entire t...