Behavior : Scrolling
Author:Rex.Rainbow
- Scroll text on text object.
Download
Properties
Auto redraw
- Enable to redraw after size changed.
Actions
Content
Action:Set content
- Set content.
- Text ( number or string ) : Enter the text to set the object's content to.
Action:Append content
- Add text to the end of the existing content.
- Text ( number or string ) : Enter the text to append to the object's content.
Line scrolling
Action:To line
- Scroll content to line.
- Line index ( number ) : Scroll the first line to index (0-based).
Action:Next line
- Scroll content to next line.
Action:Previous line
- Scroll content to previous line.
Page scrolling
Action:Next page
- Scroll content to next page.
Action:Previous page
- Scroll content to previous page.
Action:To page
- Scroll content to page.
- Page index ( number ) : Scroll the first line to page index (0-based).
Scrolling
Action:To percentage
- Scroll content to percentage. 0 is top, 1 is bottom.
- Percentage ( number ) : Scroll content, 0 is top, 1 is bottom.
Expressions
Lines count
Expression:TotalCnt
- Get total lines count of content.
Expression:VisibleCnt
- Get visible lines count of content.
Lines index
Expression:CurrIndex
Expression:CurrLastIndex
- Get current last lines index.
Text
Expression:Text
Expression:Lines
- Get text by line index.
- Line index ( number ) : Start line index (0-based).
- Line index ( number ) : End line index (0-based). Not included this line.
Conditions
Page
Condition:Last page
- Return true if current page is last page.