HB_IDLEDEL()
Removes the background task from the list of tasks.
Syntax
HB_IDLEDEL( <nHandle> ) --> <bAction>
Arguments
<nHandle> is the identifier of the task returned by the HB_IDLEADD() function.
Returns
<bAction> NIL if invalid handle is passed or a codeblock that was passed to HB_IDLEADD() function
Description
HB_IDLEDEL() removes the action associated with passed identifier from the list of background tasks. The identifer should be the value returned by the previous call of HB_IDLEADD() function.
If specified task is defined then the codeblock is returned otherwise the NIL value is returned.
Examples
nTask := hb_idleAdd( {|| SayTime() } ) Inkey( 10 ) bAction := hb_idleDel( nTask )
Compliance
Harbour
Platforms
All
Files
src/rtl/idle.c
Seealso
HB_IDLEADD(), HB_IDLESTATE()
Pingback: Harbour All Functions – H | Viva Clipper !
Pingback: Harbour idle Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !