Все вопросы: [scrollbar]

131 вопросов

3
голосов
1ответов
4544 просмотров

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

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

0
голосов
2ответов
3392 просмотров

Unlock/lock form objects with vba

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

7
голосов
4ответов
18831 просмотров

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

21
голосов
4ответов
39116 просмотров

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

1
голосов
1ответов
1126 просмотров

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

31
голосов
2ответов
47535 просмотров

WPF ListView ScrollBar visible to false

Is it possible to force the horizontal (or vertical) scroll to NOT display even when needed? The thing is that I need to display colors that are different depending of the item. That works fine but you can clearly see that the color does not reach both edge of the list view, which is kinda ugly....

0
голосов
2ответов
6669 просмотров

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?

0
голосов
1ответов
1041 просмотров

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

0
голосов
1ответов
1190 просмотров

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;

2
голосов
3ответов
5081 просмотров

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

0
голосов
2ответов
3198 просмотров

Flex 3 scroll bars not added/enabled when they should be

I'm currently learning Flex, and am having the hardest time getting scroll bars to work. In short, I'm 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 fir...

1
голосов
2ответов
6534 просмотров

Jquery Autocomplete scroll bar not appearing in IE

I am using latest version of jQuery Autocompletion plugin and have populated an array (as input for autocomplete) of about 800 entries. Now strangely when I type a letter which triggers large results (causing a scroll bar), I can see a scrollbar in Firefox but not in Internet Explorer. I have on...

1
голосов
3ответов
1541 просмотров

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

3
голосов
2ответов
1579 просмотров

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

0
голосов
2ответов
4529 просмотров

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&page=0"></iframe>

0
голосов
2ответов
1036 просмотров

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

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

1
голосов
2ответов
1321 просмотров

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

0
голосов
3ответов
1481 просмотров

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? &lt;ScrollViewer Vertica...

0
голосов
1ответов
600 просмотров

Form1 Autoscroll = Vertical Scroll

I have autoscroll enabled BUT I can't have horizontal scrollbars appear. Can anyone please help me to only activate vertical scrollbars on the form with Autoscroll?

1
голосов
4ответов
2905 просмотров

How you debug horizontal scroll bar issue?

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

3
голосов
2ответов
3085 просмотров

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

24
голосов
5ответов
35277 просмотров

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?

4
голосов
1ответов
1588 просмотров

C# Listview sort successful 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 &gt; 0) { lv_sets.SelectedItems[0].Selected = false; } if (columnSorter.SortingOrder == Sor...

2
голосов
2ответов
571 просмотров

scroll bar problems in java Layered Panes

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

11
голосов
12ответов
32571 просмотров

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

7
голосов
8ответов
11494 просмотров

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

8
голосов
3ответов
4103 просмотров

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

0
голосов
3ответов
977 просмотров

javafx scrollbar

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?

53
голосов
7ответов
38328 просмотров

How can I disable a browser or element scrollbar, but still allow scrolling with wheel or arrow keys?

I want to hide any scrollbars from my div elements and my whole body, but still let the user scroll with the mouse wheel or arrow keys. How can this be achieved with raw JavaScript or jQuery? Any ideas?

4
голосов
1ответов
5752 просмотров

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