GetScreenRowEx Method |
Top Previous Next |
GetScreenRowEx can be used to retrieve the text buffer of the one row of the current screen. Additionally, you can retrieve the standard or extended attribute corresponding to each field.
Visual Basic Syntax
[String =] TNBnnnnX.GetScreenRowEx (Row As Integer, [Attr As Boolean = True], [Eab As Boolean = True])
Delphi Syntax
[String :=] TNBnnnnX.GetScreenRowEx (Row:Integer, [Attr:boolean = True], [Eab:boolean = True]);
Remarks
The Attr parameter indicates that GetScreenRowEx will include the field attribute that occurs in Row. The Attr describes the field properties and occupies the first character position of each field in the character buffer and on the screen. This character is in HLLAPI-Compliance format.
The Eab parameter indicates that GetScreenRowEx will include the extended attribute that occurs in Row. The Eab is associated with individual characters. Each character in the buffer (except for fields attributes) has a character attribute. In the returned String, each character will be preceded by his Eab value. This character is in HLLAPI-Compliance format. So, in a 80x24 display, each row returned will occupy 160 characters.
See also GetScreenText method. |