xHarbour Reference Documentation > Function Reference |
Displays a value on the screen at a certain position.
DispOutAt( <nRow> , ; <nCol> , ; <expression>, ; [<cColor>] , ; [<lSetPos>] ) --> NIL
The return value is always NIL.
The DispOutAt() function displays the value of <expression> at the specified cursor position on the screen, using the color <cColor>. The position of the screen cursor after display depends on parameter <lSetPos>.
See also: | Col(), DispBegin(), DispCount(), DispEnd(), DispOut(), DispOutAtSetPos(), Row(), SetPos() |
Category: | Output functions , Screen functions , xHarbour extensions |
Source: | rtl\console.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
// The example uses background processing for displaying the time // continuously without changing the cursor position while Browse() // is active. PROCEDURE Main LOCAL nIdle, bTask, nTask SET BACKGROUND TASKS ON bTask := {|| DispoutAt( 0, MaxCol()-7, Time(), "W+/B", .F. ) } nTask := HB_BackGroundAdd( bTask, 1000 ) nIdle := HB_IdleAdd( {|| HB_BackGroundRun() } ) USE Customer Browse() USE HB_BackGroundDel( nTask ) HB_IdleDel( nIdle ) RETURN
http://www.xHarbour.com