scrolling

Horizontal scrolling

hi friends, i'm in the middle of developing an application.I have 5 tabs..home,ask,tip,inbox and disclaimer. My problem is regarding horizontal scrolling....say i'm in home view tab which contains an image view showing an human body skeleton...i want to horizontally scroll the home tab which takes me to another view containing a red co...

scrolling winforms

I want to implement scrolling functionality in winforms. I need text to scroll like a marquee, but from the bottom to the top. How can I do that? ...

ToolStripContainer equivalent of AutoScrollMinSize

In Winforms (.NET 2.0+), Form has AutoScrollMinSize so you can set the minimum area that the scrollbars help you maintain. What's the equivalent in ToolStripContainer.ContentPanel (ie: ToolStripContainer)? All of the methods I can find (AutoScroll, AutoScrollMargin, AutoScrollMinSize, etc.) say "This property is not relevant for this cla...

Prevent webpage from scrolling when scrolling inside a Flash object

Hello, I'm sure this must be a common question, but I haven't found an answer elsewhere. I've got a Flash object embedded in a long webpage. I listen for the MOUSE_WHEEL event in Flash, and scroll my Flash content accordingly. However, when I scroll over the Flash object, the webpage also scrolls. Is there any way to prevent this beha...

How to maintain the scroll position in NSScrollView when changing scale?

I've got an NSView (myView) wrapped in an NSScrollView (myScrollView). Using zoom-in/out buttons, the user can alter the scale of myView. If the user is currently scrolled to a particular spot in myView, I'd like to keep that part of the view on-screen after the zooming has taken place. I've got code that looks like this: // pres...

Creating "virtual" ScrollableControl?

I'm creating my own very basic Grid control. I've decided to derive from ScrollableControl (this is what DataGridView seems to do) and go from there. I have a lot of code in place to draw my cells, but I am having difficulty figuring out how to utilize the "scrollable" part of the ScrollableControl. It seems that ScrollableControl's d...

Enable scroll for WPF Treeview

Can anybody help me out with how to enable a treeview to scroll? There must be a simple way but I can't make it work in my code. After multiple failed tries, I currently have something like this: <ScrollViewer CanContentScroll="True"> <TreeView ...> </TreeView> </ScrollViewer> I do see an 'disable...

Setting a WPF control to expand to fill available space, and no more

How can I set up a WPF control to fill the available space in its parent's container, but not expand the parent? The following snippet describes the layout I am attempting. I would like the Grid to stretch to accommodate the Expander, and I would like the ListBox only to fill the Grid. I want the ListBox's scroll bar to appear when the ...

Rendering 2D primitives in scrollable view

What is the best approach to render a large number of 2D graphical elements (lines, text, shapes, etc.) in a scrollable view on windows using C#? ...

Waterfall display

Hi, I need help in creating a waterfall display of my image data stored in a buffer. The stream of image data needs to be displayed scrolling down the screen as its being acquired from the camera. I am using visual studio c++ windows forms. Can someone please help me to figure out how to achieve this display? Thanks in advance ...

Mysterious UITableView stuck problem

Hi, I'm new to iPhone development. I'm working on a table view (default UITableView subclass) that contains complicated custom cells, with multiple subviews and controls. Scrolling is not very smooth, but I'll just leave that for now. The question is, when I'm scrolling the table view with quick swipes, the table sometimes suddenly stop...

Scroll Buffering in Windows Applications

How is scrolling typically handled in a Windows application that has computationally expensive graphics to render? For example, if I am rendering a waveform graph of a sound, after processing the wave form from a peakfile, should I: Render the entire graphical representation to an in-memory GDI surface, and then simply have a scrollab...

WPF ListView on portable device - extremely slow scrolling

I have a GridView in a ListView contained in a ScrollViewer element. I understand WPF draws only the visible data at runtime, for example on scrolling grids only the visible rows are drawn initially - my problem is that I don't have as much power as on the desktop on a portable device I am developing for, so my WPF ListView - which scr...

UITableView: user interaction with section's footer

Hi, For one of UITableView sections I have put a view with a UIDatePicker into it's footer (using tableview:viewForFooterInSection:). The problem is that UIDatePicker receives only single touch events (tapping) and doesn't receive scroll events, so I am unable to set appropriate time inside it. Instead of scrolling UIDatePicker's hours ...

Tricks for improving iPhone UITableView scrolling performance?

I have a uitableview that loads fairly large images in each cell and the cell heights vary depending on the size of the image. Scrolling performance is decent, but can sometimes be jerky. I found these tips I found on the FieryRobot blog: http://www.fieryrobot.com/blog/2008/10/01/glassy-scrolling-with-uitableview/ http://www.fieryrobo...

Is is possible to make tableview section headers scroll with the cells in a plain tableview?

In a grouped tableview, the section headers and footers scroll with the cells. However, in a plain tableview, they are fixed to the top and bottom of the screen until the next section is reached. Is there a way to override this action and make the headers and footers scroll with the cells in a plain tableview? Thanks! ...

Display tag only when page is scrolled at top

How do I detect if a user scrolls downwards with jQuery? I want a fixed div to show only when the browser is within 300px of the top. When the user scrolls down past the 300px mark, it should disappear. When the user scrolls back to the top, it should hide. How do I do this? ...

Scroll a background in a different speed on a UIScrollView

When somebody does a wipe gesture to scroll the content from left to right, I would like to have a background image scrolling into the same direction, but at a different speed. Much like what these classic games did do 20 years ago (remember that, anybody????) ...

scrollable JPanel in java

Hi all, I'm building this small java applet in which I need a JPanel which will support a scroll bar. I've tried different solutions, including scrollpanes and so forth, they worked fine when I used them in java applications and in IFrames, but from some reason when I moved them to java applets and inside other panels instead of JFrames...

Activate URL anchor but don't scroll to it?

I have a page with two tabs that I want to be able to switch with Javascript, but also set the anchor (e.g. page.html#tab1) in the URL for bookmarking/linking. By default the tab contents are in two divs, one below the other, and the anchor tag will scroll to the correct one, with JS disabled. With JS enabled, CSS classes are applied t...