Hello,
I want to execute a function while the system is in idle.
I use
The problem is that the function is executed every second, even while I'm scrolling down in a browse with the arrows.
I thought it was only executed when nobody is touching the keyboard or mouse.
How can I do that?
Thanks,
Marc
I want to execute a function while the system is in idle.
I use
hb_IdleAdd( {|| hb_BackGroundRun() } )
obck = hb_BackGroundAdd( {|| SQLLeestrest(valias,vreccount) }, 1000, .T. )
SET BACKGROUND TASKS ONThe problem is that the function is executed every second, even while I'm scrolling down in a browse with the arrows.
I thought it was only executed when nobody is touching the keyboard or mouse.
How can I do that?
Thanks,
Marc
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite