Difference between revisions of "HSCROLL()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to designate a screen area to scroll horizontally
 
Function to designate a screen area to scroll horizontally
Line 36: Line 32:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 16:21, 2 December 2009

Purpose

Function to designate a screen area to scroll horizontally


Syntax

HSCROLL(<expN1>,<expN2>,<expN3>,<expN4>,<expN5>)


See Also

SCROLL, SCROLL(), SET SCROLL, TEXTEDIT()


Description

The HSCROLL() function designates an area of the screen to scroll left, scroll right, or blank out. This function can be used to emulate windows. <expN1>, <expN2>, <expN3> and <expN4> are the beginning row, beginning column, ending row, and ending column screen coordinates of the area. <expN5> is the number of columns to scroll. A value greater than zero scrolls right. A value less than zero scrolls to the left. A value of zero clears the specified scroll area.


Example

// Create window with text
@05,35,09,46
@06,36 say "ABCDEFGHIJ"
@07,36 say"abcdefghij"
@08,36 say "0123456789"
// Scroll slowly one column at a time until
// the window is clear.
for i = 1 to 10
    hscroll(6,36,8,45,1)
    sleep 1
next


Products

Recital