Questions tagged [autoscroll]

A behaviour of a control that allows automatic scrolling capability.

592 questions
7
votes
2 answers

CDK drag-n-drop auto scroll

I have an Angular 7 app, using CDK Drag-n-Drop to drag and drop rows in a very long list. What should I do to allow the long list to auto scroll when the dragged item out of the current view? Any sample code I can refer to?
user2777473
  • 3,736
  • 5
  • 26
  • 39
7
votes
1 answer

Smart JScrollPane autoscrolling

I am attempting to implmement smart autoscrolling on a JScrollPane containing a JTextPane. The JTextPane is used for logging my app in color. However I'm running into a wall trying to do smart autoscrolling. By smart autoscrolling I don't mean…
TheLQ
  • 14,830
  • 14
  • 69
  • 107
7
votes
2 answers

How to get a TextView in Android have Horizontal Scrolling and autoscrolled?

I want to have a simple TextView with horizontal scrolling, I know that I use HorizontalScrollview for that and I want the text to be autoscrolled continuously. Is that possible?
Hayate
  • 93
  • 1
  • 3
7
votes
2 answers

SSMS messages tab auto-scroll

This is a question about SSMS rather than SQL. I am running a loop that is constantly giving me the number of rows affected in the messages tab of Microsoft SQL Server Management Studio. It fills up the whole page every second, so I have to scroll…
user2961411
  • 71
  • 1
  • 3
7
votes
5 answers

textFieldDidBeginEditing is called prematurely

I have an application in which I have to scroll up in case of the keyboard showing. to get the keyboard size, I'm registering the UIKeyboardWillShowNotification event like so: [[NSNotificationCenter defaultCenter] addObserver:self …
donald
  • 489
  • 5
  • 13
6
votes
3 answers

Android: auto scrolling down the EditTextView for chat apps

Thank you for looking, I am creating a chat application. It works for the most part. The only thing I have a problem with is the scrolling. I use EditText to publish the new message from the server. by method msg = msg + "\n" +…
Byte
  • 2,920
  • 3
  • 33
  • 55
6
votes
2 answers

Android WebView requestFocus: How to prevent scrolling to top?

Is there any way to prevent an Android WebView from scrolling its content to the top when it receives a requestFocus ? I need to manipulate several layers in an Activity, changing the focus between them. However, using requestFocus to move the focus…
BillB
  • 331
  • 3
  • 8
5
votes
2 answers

UIScrollView auto-scrolls to top after SetContentSize during orientation change - how can I prevent that?

I have a UIScrollView in which vertical only scrolling is enabled. I'm displaying a grid of buttons (similar to the photo viewer image grid). The grid has to be drawn differently based on screen orientation, so that all of the screen real estate…
bpatrick100
  • 1,261
  • 1
  • 15
  • 23
5
votes
2 answers

Disabling RichTextBox autoscroll

I am using RichTextBox control for displaying application logs. I am updating control once a second with a few calls of RichTextBox::AppendText method. What is really annoying for me is that cursor keeps scrolling to the last line of text. Its very…
truthseeker
  • 1,220
  • 4
  • 25
  • 58
5
votes
1 answer

Drag & Drop Works - Autoscroll Doesn't

I have a drag and drop function (code below) for my table that works great. Except, I can't drag a cell to a location not showing on screen / in view. In other words, I haven't figured out how to make it autoscroll. Is anyone able to look at my…
Dave G
  • 12,042
  • 7
  • 57
  • 83
5
votes
1 answer

Android: Autoscrolling HorizontalScrollView

I'm using the following code to simulate tabs and since there are more tabs that width can accommodate user can scroll left or right to make a tab button visible. It all works, however I also provide user with ability to fling between tabs by…
Bostone
  • 36,858
  • 39
  • 167
  • 227
5
votes
1 answer

Pan an Image with Left Click: Rate of Scroll is faster than Mouse (.NET)

The goal is to pan a form or image on the form when left clicking, and dragging the mouse. The below code works perfectly fine for my needs, but there is only one issue. When I left click and drag the mouse, the form pans quicker than the mouse,…
Mike
  • 235
  • 3
  • 15
5
votes
0 answers

how to ensure visible a node into a TitlePane which is into a scrollpane in javafx

I have a scrollPane which has various TitledPane into this, each TitledPane has various textfield's as children. When i navigate throughout textfield's using Tab key, the scrollpane do not autoscroll to ensure visible the control gaining focus. This…
kato2
  • 535
  • 4
  • 15
5
votes
1 answer

Lag between Scroll event and Paint event and maybe something inbetween

I have a simple panel on a form and I'm using AutoScrollMinSize and AutoScroll to get some scrollbars on my panel, all works OK. I also have a Scroll event which I use to invalidate the whole panel area, as defacto it seems to only invalidate bits…
Niksan
  • 149
  • 1
  • 9
4
votes
2 answers

How to Scroll pdfView automatically with button click or volume buttons

I'm using barteksc pdf viewer library to load pdf in my application. pdfView = findViewById(R.id.pdfView); pdfView.fromAsset(getResources().getString(R.string.pdfname)) .enableDoubletap(true) …
1 2
3
39 40