"autoScroll"
This attribute can be used to enable autoscrolling in drag move events. The attribute also returns TRUE if autoscrolling in drag move events is enabled; otherwise returns FALSE. (Until Version 3.10 "autoScroll")
Synopsis
this.autoScroll(bool d);
Parameter
Parameter | Description |
---|---|
shape | Name of the object |
d |
TRUE = the content should scroll FALSE = the content should not scroll |
Description
This attribute can be used to enable autoscrolling in drag move events. The attribute also returns TRUE if autoscrolling in drag move events is enabled; otherwise returns FALSE. This attribute makes a difference when a textEdit contains so much text that the scroll bars are visible and you want to move a selected text by using drag&drop. In this case this attribute specifies whether the content should scroll (when you reach the margin) or not.
Assignment
TextEdit, Tree widget, DpTreeView