# HB_SETDISKZIP()

Set an codeblock for disk changes

Syntax

  HB_SETDISKZIP(<bBlock>)

Arguments

  <bBlock> an Code block that contains an function that will be performed when the need of changing disk are need.

Returns

  It returns allways True

Description

  This function will set an codeblock that will be evaluated every time that an changedisk event is neccessary.
  Set this function before opening archives that are in removable media. This block will be released, when the caller finish it job.

Examples

          HB_SETDISKZIP({|x| alert('Please insert disk no "+str(x,3))})

    Compliance

    This function is a Harbour extension

    Platforms

    All

    Files

    Library is zlib.lib and zlib_bor.lib For Borland Compilers  Library is zlib.lib zlib_ms.lib for MSVC compilers