scrollbar

How to increase scrollbar width in WPF ScrollViewer?

I am wokring on a touch screen on a small device and the custom width of the scroll-bar is no good as one of my requirements is that everything needs to be doable by finger gestures. How can I set the width of the WPF ScrollViewer scrollbar? Note that I don't wanna change the width of all the scrollbars on the device (doable through wi...

WinForm Panel scrolling without a scrollbar?

I'm creating a User Control that's basically a Panel (with random content inside), and I need to be able to scroll up and down this Panel using buttons (up and down) rather than the scrollbar. The reason I have to do it this way is because the program will be used on a touch screen monitor and we need big buttons rather than an ugly lit...

How to disable browser or element scrollbar, but let scrolling with weel or arrow keys?

I want to hide scrollbars from div element or whole body, but let user scroll it with mouse wheel or arrow keys. How to achieve this with raw javascript or jquery? Any ideas? ...

javafx scrollbar

Hello all, I'm very new to javafx. I am trying to add a horizontal scroll bar to my stage. I've got a very wide picture and I'd like to show only part of it and allow the user to scroll it. How is it done? ...

WPF stop ListView ScrollBar firing click

I am using a WPF ListView with an always visible vertical scrollbar. I have a MouseLeftButtonUp event handler on the ListView. The handler is working properly except when the vertical scrollbar is clicked when it has nothing to do i.e. the ListView box doesn't have enough items to do any scrolling. In that case nothing should happen as ...

Google Chrome: Focus issue with the scrollbar

I am using jQuery 1.3.2. There is an input field in a form. Clicking on the input field opens a div as a dropdown. The div contains a list of items. As the list size is large there is a vertical scrollbar in the div. To close the dropdown when clicked outside, there is a blur event on the input field. Now the problem is: In chr...

Force vertical scrollbar to display in IE8

The vertical bar does not appear in IE8 if the page is not long enough. In FF, there is a workaround for this html { overflow: -moz-scrollbars-vertical; } I tried the following for IE8: overflow:scroll; but the scroll bar appears on both sides. I want it only for vertical and not horizontal. scroll-y does not work. Any solution? ...

scroll bar problems in java Layered Panes

Hi all, I've been trying to build this small java app. I find it very difficult to design UI in java, tasks that seem very simple become complicated and all these strange misbehaviors occur. In my app I've created a JLayeredPane which contains two layers. One on top on the other, They both contain scrollbars. Here's an explanation of t...

C# Listview sort succesful but trying to move scrollbar to top...how?

Sorted the listview and tried to "refresh" it by selecting the first element and thus putting the scroll position at the top but it's not quite working. Here's my code: if(lv_sets.SelectedItems.Count > 0) { lv_sets.SelectedItems[0].Selected = false; } if (columnSorter.SortingOrder == SortOrder.Ascending) { columnSorter.Sorting...

What listbox event should I use to set scroll position.

on my page, I have a listbox in an update panel. I am successfully trapping the scroll position, however when the update panel refreshes, I'm having trouble finding a suitable javascript event in which to call my function to set the scroll position. Any ideas? i had really hoped that "onAfterUpdate" was going to work, but no... ...

Display scroll bar in textbox when contents are beyond the bounds C#

Is it possible to show/hide the scroll bar in a text box only when the line count in the text box is more than the number of lines displayed? ...

How do I make the scrollbar's thumbtrack resize

If you open Notepad, add ten lines and resize the editor to only show nine, the thumb track (the draggable block on a scroll bar) is almost the full length of the vertical scroll bar. If you add a couple of thousand rows, the thumb track is only a few pixels high. I'd like to duplicate this bahaviour in a TCustomControl descendant where...

How you guys debug horizontal scroll bar problem?

There is no scroll bar when browsed with firefox, but it shows up in IE. How to track this kind of problem? ...

C#/WPF: Scroll to last line in DataGrid/ListView etc. / Problem with ScrollViewer

Hello, I'm trying to scroll to the last line in my DataGrid. This is what I'm using right now: var border = VisualTreeHelper.GetChild(mainDataGrid, 0) as Decorator; if (border != null) { var scroll = border.Child as ScrollViewer; if (scroll != null) scroll.ScrollToEnd()...

How to expand window contents when scrollbar is not visible in wpf?

I have a scrollbar in wpf around a ItemsControl, which is only visible when the list is longer than the window size. However, when it is hidden, there is a blank white space where the scrollbar should be. How can I remove this space and "collapse" the scrollbar instead? <ScrollViewer VerticalScrollBarVisibility="Auto" Hor...

IE Forces a Horizontal Scrollbar in a dojo AccordionPane

HI all, I have and issue that looks like it's due to IE's box model bug, but I'm not quite sure how to solve it in dojo. I have a ContentPane which I put into a typical AccordionContainer, and static content is palced in the ContentPane. On all other browsers, if the content in the ContentPane overflows the bottom, a vertical scrollba...

How to make vertical scroll bar align with a specific <div id="target"> smoothly with jQuery?

<body> ... <div id="target"></div> ... <a>click me</a> </body> When user clicks,make the vertical srollbar align with <div id="targe"> smoothly EDIT Is it doable without other plugins? ...

vScrollbar width in listbox

hi, i have a list box and i need to know what the vscrollbar width . how can i know it? ...

Make Vertical Scrollbar in DataGridView not Snap to Cell Top

So, I have a DataGridView that has multi-line data. I set the default cell style to have wrap turned on for cells so that the multi-line data is displayed rather than it all being on one line. However, when the data is larger than the DataGridView height the vertical scroll doesn't really work well. It snaps to the top of the cells su...

iframe vertical scrollbar

How do I get rid of the vertical scroll bar in the iframe? See here: http://lambodhara.tumblr.com/ The code is: <iframe width="560" height="350" frameborder="0" scrolling="no" src="http://zleek.com/champ1979/navarathri-2009?embed=true&amp;page=0"&gt;&lt;/iframe&gt; ...