Functions

DevPos

Move the text window cursor

Syntax

Signature
void DevPos( int row, int col );

Arguments

row, col Zero-based row and column. Negative coordinates are treated as zero.

Return value

No return value.

Description

Move the text cursor before drawing a field or label with `DevOut()`. This C implementation uses `SetPos()` and updates the position reported by `Row()` and `Col()`.

Example

devpos.c
#include "xdev-wtui.h"

int main( void )
{
   DevPos( 2, 5 );
   DevOut( "Invoice total", NULL );

   Inkey( 0, NIL );

   return 0;
}