Hi fivewinners.
Any idea on how to automatically refresh a xbrowse after a few minutes of inactivity (no key stroke)
Any help will be appreciated
Thanks in advance
From Chile
Adolfo
static nCargo := 0
...
....
....
ACTIVATE WINDOW xWnd NORMAL ON INIT ( xWnd:Center(), GoTimer( xWnd, oBrw ) )
RETURN Nil
//-------------------------------------------------------------------------
STATIC FUNCTION GoTimer( xWnd, oBrw )
LOCAL oTmr
DEFINE TIMER oTmr OF xWnd INTERVAL 1 ACTION IIF( nCargo > 799, ( Recargar_Datos( oBrw ), nCargo := 0 ), nCargo += 1 )
ACTIVATE TIMER oTmr
RETURN Nil
//-------------------------------------------------------------------------
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 69 guests