scrollbar

How do I know when I've stopped scrolling a TScrollBar?

I've used some programs with scroll bars that update the linked content while you're still dragging the "thumb", and others that don't until you release the mouse. This implies that there are different types of Windows messages involved here. But all I can find from TScrollBar is an OnScroll event which fires continually while you're d...

How to get rid of the empty space in the right part of DBGrid Delphi

Although the question seems simple, I couldn't find the answer to it. I have a DBGrid component with lots of columns, and as a result they don't fit into the page and scrollbar appears. I also have column-autofix mechanism, which makes each column have width of the longest element in the table. When I scroll DBGrid to the right-end the...

Flex 3 - Scroll bar issue

Im currently learning Flex, and Im having the hardest time getting scroll bars to work. In short Im pretty much just making a giant form for users to fill out, contained within a viewstack component, the user will type up information in one view, and it will be displayed in the other. But right now in the first canvas i have components t...

Help - Null Object error when using stage.addEventListener (ScrollBar)

Hey guys, hoping for some help with this :( been stuck on it for a couple days now. I'm creating a ScrollBar using Lee Brimelow's ScrollBar class. I've had to modify it to work inside of my Class files and think I'm on the right track, but I'm getting the dreaded: Error #1009: Cannot access a property or method of a null object refere...

How to prevent scale trumb within flex scrollbar

HI, all I'm looking simply approach to prevent scale thumb within flex scrollbar' According to our wireframes we should display scrollbar without up-down arrows and cycle (without scale) as a thumb; ...

Skinning HorizontalList scrollbar with Degrafa

I am having some issues when trying to skin the scrollbar on a horizontalList with Degrafa. The scrollbar doesn't show up at all. I checked to see if the scrollbar is supposed to show up without the skinning, and it does. Are there any gotchas with doing this? Here is some code: This is where I define the HorizontalList where I want...

Asp.net - How to introduce scrolling in gridview control

I am using Vb.net for coding. I have a grid view control in which i want to introduce a vertical scroll bar if the value from the sql query overflows. How do I go about it? ...

WPF ListView ScrollBar visible to false

Hi, Is it possible to force the horizontal (or vertical) scroll to NOT display even when needed? ...

Updatepanel height remaining largest size after update

After almost 4 years of use, one of my testers noticed something strange with my update panels. Let's say I have a display mode and it takes 100 pixels in height. The user then switches to edit mode and the updatepanel updates. The window is now 500 pixels in height. The user clicks save and it turns back to display mode, which is only ...

Adding a vertical scrollbar to an AlertDialog in Android ??

I would like to add a vertical scrollbar to an AlertDialog because my text is too long to display on 1 screen: I've tried to use : android:scrollbars="vertical" android:scrollbarAlwaysDrawVerticalTrack="true" but the scrollbars don't even display ? Here's the xml layout file I'm using: <LinearLayout xmlns:android="http://schemas....

jqGrid - Is there a way to always display a vertical scrollbar?

My application has several jqGrids that may or may not contain enough rows to require a vertical scrollbar. But rows may be dynamically added to these grids after they have been created, so that a grid may eventually require a scrollbar. The problem is that if the grid does not have enough rows to require a scrollbar, there is empty spa...

Unlock/lock form objects with vba

Hello, I have an excel worksheet with 2 comboboxes, and 3 scrollbars. I want to protect all the sheet except this form objects (and one cell). When i try to protect the sheet, i can't use the scrollbars and comboboxes. How can i unlock them, keepin the protection for the rest of the sheet with vba ? I tried to unlock the cells linked to...

c#: How do I determine if the ScrollBar for a Scrollable control is currently displayed?

Title says it all...is there a way for me to check if the Scrollbar for a control is currently displayed or not? I want to use it so I can determine how to size the children of the Scrollable control, which is somewhat dependent on whether or not the ScrollBar is displayed (the Scrollable control can be dynamically resized). ...

Ajax update panel problem !!

I have one update panel inside which i have datalist. this update panel trigger for every 1 second to retrive the data from db. i have kept this update panel inside a vertical scroll enabled div tag. but when i get new data. the scroller is not adjusting automatically !!! i have tried maintainscrollback option its not working. is t...

Get vertical scroll bar position as integer in vb.net

I have a RichTextBox and I need to find the position of the vertical scroll bar. Is there any way to do this without Pinvoke? If not, what is a way to do this WITH Pinvoke? I need to return an integer value. Thanks for the help! ...

C# DataGridView, large cells: Content never fully visible, scrolling skips cell

I have encountered a rather nasty problem with the DataGridView control (Windows.Forms, .NET Framework 3.0) when there is a DataGridViewCell that is larger than the DataGridView itself. When the large cell is scrolled into view it displays normally, cut off at the bottom since it is larger than the view. If you scroll down further it eve...

SWT standalone scrollbar widget

Is there a way to create a "standalone" scrollbar in SWT? I would like to have a scrollbar which I have full control over myself and use it to control the contents of another widget in a way which isn't possible with the "built-in" scrollbars in the Table widget, for example. ...

Styling a QScrollBar by QStyle

I try to style a QScrollBar via a custom QStyle but if i draw nothing in drawComplexControl for the QScrollBar, the required space for the scrollbar on the parent widget is painted black. If i do the same with, eg a QToolButton simply the toolbutton is not painted but there is no black rect on the widget. That is what i would expect. But...

Safari/Chrome (Webkit) - Cannot hide iframe vertical scrollbar

Hello, I have an iframe on www.mydomain.com that points to support.mydomain.com (which is a CNAME to a foreign domain). I automatically resize the height of my iframe so that the frame will not need any scrollbars to display the contained webpage. On Firefox and IE this works great, there is no scrollbar since I use <iframe ... scrollin...

How to find the actual width of grid component with scrollbar in Delphi

I have a grid component (DBGrid) which has lots of columns on it. Because of large number of columns, a scrollbar was created, and thus some part of grid remains hidden. I need to find out what is the real width of DBGrid, including the part which is not shown due to scroll bar. But Width property gives only the width of the component it...