scrollbar

How to catch scrolling event in DBGrid in Delphi

I have a DBGrid, I need to run some code, each time the horizontal scrollbar is used. I couldn't find such event in DBGrid. Can you advise something? ...

Problem with the scrollbar of a UIWebView

Hi there! Im using a UIWebView to access a website, when i rotate the phone (landscape) the UIWebView is properly resized and the scrollbar are on the right place (on the right edge...) but when i acess any of input fields to fill the information required and exit it the UIWebView scrollbar jumps to the middle of screen (looks like it ge...

set scrollbar properties in firefox

Hello all, I want to set the color of my scrollbar and for it to work in firefox as well. I read that scrollbar's are not part of the w3c standard and therefore their customizing are not supported in firefox. Well, there must be some way to get it working. Does anyone how to do it? ...

Get a deactivated scrollbar in Firefox

I have a Javascript tabbed dialog whose pages have different heights. Some of them are taller than the browser window. In Internet Explorer, there is always a scrollbar to the right. When it is not needed, it is greyed out. The page dimensions stay the same and there is no problem. In Firefox, the Scrollbar is hidden completely when no...

Populating a DataGridView on-the-fly (VB.NET)

Hi all, I have a DataGridView which reads data from a custom (CSLA) list object. The dataset might have 100,000 records, and obviously I don't want to show them all at once because, for one, it would take ages to load. I think it would be nice if I could read the first (for instance) 20 records, and make it so upon scrolling to the end...

Silverlight 3 missing ScrollViewer.ScrollChanged event workaround?

I want to be notified of changes to the VerticalOffset of the vertical scrollbar of a ScrollViewer. In WPF there is a ScrollViewer.ScrollChanged event, but in Silverlight 3 this is missing. Does anyone know a workaround? ...

Mouse events on an SWT Scrollbar

Using standalone SWT Scrollbars is something of a hack (using this workaround), but it can be done. Here's a snippet: ScrolledComposite scrolledComposite = new ScrolledComposite( parent, SWT.V_SCROLL); ScrollBar scrollbar = scrolledComposite.getVerticalBar(); Shell tip = new Shell(UserInterface.getShell(), SWT.ON_TOP | SWT.NO_FO...

How to show scrollbar in Swing's JOptionPane.showOptionDialog?

Hi, In our Swing application, we show error messages using JOptionPane.showOptionDialog. However, some of the messages are long and we would like to limit the height of the dialog and show a scrollbar. We thought of using HTML and CSS in the dialog text to limit the height and show scrollbar, but it seems Swing's HTML & CSS is quite limi...

Remove Arrows from Swing Scrollbar in JScrollPane

I would like to remove the scrollbar arrow buttons from a scrollbar in a JScrollPane. How would I do this? ...

-moz-scrollbars-vertical equivalent for Chrome/Opera/Safari?

IE6, IE7, and IE8 display a vertical scroll bar for the page by default even if it is not scrollable. Chrome and Firefox do not do this (I'm assuming Opera and Safari do not as well). You can accomplish this same behavior in FireFox using the CSS: body { overflow: -moz-scrollbars-vertical; } Is there any way to force the visible scr...

How to data bind DataGrid component without scrolling up?

I have a DataGrid component that I would like to update every 5 seconds. As rows are being added to this DataGrid I noticed that every update causes it to reset the scroll bar position to the top. How can I manage to keep the scroll bar at its previous position? ...

Problem with background elements around main content

I have this site where I need to place two images at the top of the page on each side of the content. Temporarily it can be reached [removed]. If your resolution is wide enough you can see both right and left red Christmas decorations are aligned to the main content. However the right ones are not taken out of the page flow and create a...

Inner div to scroll if outer div is too small?

Tentatively answered Thanks dcneiner - new answers are appreciated. Hi, I'm trying to make a sidebar which on a website which will have a "panel" in it containing contact info. The problem is that on smaller screens, the text overflows the background. Here is the CSS, where #navigation is the outer div and the inner div is called .in...

Horizontal Step Carousel

Step Carousel http://www.harrods.com/harrodsstore/ I need a flash or jquery Horizontal Step Carousel which has auto scroll feature and scrollbar at the bottom. Anyone saw it something like that? ...

How could I get a Frame with a scrollbar in Python's Tkinter?

I'm starting to learn about Tkinter. I'd like to have a container widget ( Frame ), where the user could add as many textfields as needed by the application. The application starts with a textfield, and a button below that textfield. When the user presses the button, a new text entry will be added below the first one ( this may be repeat...

UIScrollView - showing the scroll bar

Hi all, Possibly a simple one! Does anyone know how to get the scroll bar of a UIScrollView to constantly show? It displays when the user is scrolling, so they can see what position of the scroll view they are in. BUT i would like it to constantly show because it is not immediately obvious to the user that scrolling is available An...

WPF: Restyle all controls with scroll bars

How can I change the style -ONCE- for the scrollbars shown by all controls (listbox, treeview, scrollbarviewer, richtextbox, etc...)? ...

RichTextBox: How to determine if text extends beyond the control bounds? - Horizontal Scrollbar appearing when it shouldn't after sending EM_SETTARGETDEVICE and then resizing the control

I have extended the RichTextBox control to implement much of the missing functionality provided in the native RichEdit class. I'm running into an issue where if the control is set to wrap to the window or to wrap to printer the horizontal scrollbar appears even though it shouldn't when the control is resized. Cycling the wordwrap to ...

Flex 4 and ScrollBar stepSize

I want to specify amount to scroll with VScrollBar. So in Flex 3 we have "lineScrollSize" but how this property called in Flex 4? I thought it VScrolBar.stepSize — but it dose not do anything. Somebody please help me. I just whant my content to scroll faster on mouse wheel. ...

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 ...