Player APIs (BrightScript & Ja...
...
Object Reference
Presentation and Widget Object...
roCharDisplay
9min
the rochardisplay object lets you write to a character display as well as set and get its properties object creation createobject("rochardisplay") if chardisplay show(row as integer, col as integer, txt as string) as void displays text at the prescribed position this has the following parameters row int int the row in which to put the text col int int the column in which to put the text txt string string the text as a string clear() as void clears the display setposition (row as integer, col as integer) as void positions the cursor this has the following parameters row int int the row in which to put the cursor col int int the column in which to put the cursor setcursor(cursor as integer) as void sets the cursor style this has the following parameter cursor int int the preferred cursor style; 0 is off; 1 is blink; 2 is underline; 3 is both setcontrast(contrast as integer) as void set the display contrast this has the following parameter contrast int int a value from 0 to 100 getcontrast() as integer gets the display contrast setbrightness(brightness) as integer set the display brightness this has the following parameter brightness int int a value from 0 to 100 getbrightness() as integer gets the display brightness getcolumns() as integer returns the number of columns this is useful for writing code that loops over the available rows and columns getrows() as integer returns the number of rows this is useful for writing code that loops over the available rows and columns