hb_idleDel()

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()

3 responses to “hb_idleDel()

  1. Pingback: Harbour All Functions – H | Viva Clipper !

  2. Pingback: Harbour idle Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.