scrollbar

UpdateLayeredWindow causes black blocks on certain controls.

Hello everyone, I am currently having an issue while using UpdateLayeredWindow. The Issue: It seems that when using skinned interfaces on Windows (Aero and such) UpdateLayeredWindow causes issues with specific controls. By this I mean, for example, if a simple edit box has a right-side scroll bar, it will turn black when a user hovers t...

Why scroll bars appears ?

I have the following simple code: HTML: <div> <img src='http://i51.tinypic.com/4kz4g5.jpg' /> </div> CSS: div { width: 260px; height: 195px; overflow: auto; background: #333; } The dimensions of the image are width=260px, height=195px, which is exactly like the dimensions of the div. My question is why the scr...

How to set ListBox's Scrollbar position?

I'm developing a silverlight 4 application and I often use Listboxes and databinding. What I would like to do is set the scrollbar position to the bottom of my Listbox. Is there a simple way to do this? By the way I've tried this but it doesn't work: COTO_dg.ScrollIntoView(COTO_dg.Items[COTO_dg.Items.Count - 1]); Thank You, Ephismen....

Flex 4 scroll is wrong when changing scaleX and scaleY

When I zoom in with scaleX and scaleY, the scrollbar (of the object container) ignores the top of my scaled object and the left of my scaled objekt. It's seems like its going outside the container with negative values on x and y and therefore the container does'nt "see" that it's more to scroll. I've tried to change x and y after the s...

Scrolling to an element within a div

I have an absolutely positioned div which acts as a modal window in the center of the page. The modal window is vertically scrollable with a scroll bar on the right hand side. The page itself is also vertically scrollable with a scroll bar on the right. I would like to be able to click on a link and have the modal window scroll to the ...

Android ScrollView scrollbarSize

Hi everybody. I'm using a ScrollView and i want to set the ScrollBar size, but everything i tried failed. I tried with attribute android:scrollbarSize, with style, with theme but nothing. The size of the scrollbar it's always the same. Any suggestions? Thanks ...

jqGrid - do not display scrollbars

Is there a way to not display the scrollbars? We'd like to also NOT show the extra space where the scrollbars would go if our data didn't fit on the grid. ...

How do I know when the current system scrollbar width changed?

I need to move controls around when the scrollbar's size change (System.Windows.Forms.SystemInformation.VerticalScrollBarWidth). I'm creating a control with custom scrollbars that go over the normal ones. This implies creating a new UserControl (not inheriting a built-in control) and playing around with panels so as to hide the normal s...

How do I style the scrollbar of a textarea

I've got a textarea in a contact form which is styled with css, it looks great until i write more than the area can fit, when I do that a scrollbar appears and this scrollbar looks horrible with my dark styling (it's black with white text). So how would I go about to style this? I've googled some but haven't found any good answer just fo...

WinForms TextBox horizontal scrollbar jumps to rightmost edge when clicked/dropped

I have a simple WinForm application that involves a TextBox displaying multiple lines of... get this... text. When I click on the horizontal scrollbar on this multiline TextBox, the horizontal scrollbar jumps all the way to the right, which I really don't want it to do. It will cause pretty serious usability issues. Anyone know what cau...

A scrollable area with the overflow hidden but no scroll bar

Is there a way of having an overflowing div that hides the overflow, doesn't have a scroll bar but is still scrollable (by means of the mouse wheel / touch input)? e.g. <!DOCTYPE html> <div id="longtext" style="width:100px; height:100px;"> Lorem ipsum.... </div> My CSS attempts have failed as overflow: hidden; s...

How to make WPF DataGrid scrollbar look like WinForm DataGridView?

I'm trying to migrate to WPF and evaluating the DataGrid. First, I tried to make the DataGrid look and feel similar to the old DataGridView. The problem is that the scrollbars in DataGrid only cover the scrollable area. That means, the column and row header areas are shown in background color, which looks ugly to me. How can I make the s...

How does Vimeo do their 'more' videos container scrolling - aka Flash scroll bars for HTML content

On a Vimeo.com video page (say for example http://vimeo.com/12887367) there is a container to the right of the video titled 'more', which has a customized flash scroll bar. I would like to replicate something similar on a website I am working on, which I am currently using jScrollPane in (but having some problems with different browsers...

How to change a ListBox's Vertical Scrollbar's Repeat Button Size in WPF

Hi there, I have a ListBox control with a vertical scrollbar. I would like to increase the Repeat Buttons' Height to something bigger because our UI is touch-compatible. Is there a simple way to do it ? Thank you and best regards, Romanin ...

AS3 ScrollPane Component scroller problem

AS3 ScrollPane Component scroller, When i test the project locally, scrollbar works fine, when i put my project to my website, scroller do not scroll when i want to drag it up and down. Something prevents it to scroll? what? ...

HTML table horizontal sizing issue

I'm sure this is an easy problem to solve, but I'm just not much of a html/css wizard yet! I have a table that I generate and the spec calls for there being a fixed header while allowing the body to be scrollable. The problem is, now the horizontal direction is scrollable also, which I don't want it to be. There is no reason it can't ...

wpf scrollbar lineDown method

Hi Is there any way to slow down a bit scrolling ? I have a canvas where I put some controls witch I can move. If control reaches current maxWidth of canvas I use method called LineDown to scroll my canvas. However the scrolling is very fast. Is there any way to slow it down a bit ? Maybe I can set some property wich 'tell' scrollviewer ...

scrollbar color change in firefox

hi , i want to change scroll bar color in firefox how can i do that ? thanks rahul ...

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

Scrollable div inside a table

I need to place a scrollable div in a table cell. The table should be 100% height. The div has a lot of content that doesn't fit in the screen so scrolling should appear. But I want only the div to be scrollable, not the whole page. If I don't use table, everything is perfect: <div style="height: 100%; width: 100px; padding: 5px; over...