RFBUTTON.DeletePadFile

boolean DeletepadFile(BSTR pszFileName)

Function DeletePadFile(pszFileName As String) As Boolean

Delete an existing Button pad file from the Client.

Return value
True=the function was successful, False=error, file not found, RF link lost.

Parameters

pszFileName
    The name of the existing menu file (up to 8 characters).

Remarks
The name must contain legal characters for MS-DOS filenames. Do not include dots (.) and other special characters (* , $ \ : etc).
The files are created by the PadStore function, and deleted by this function (DeletePadFile) function.
The file array is built by the ListPadFiles function.
The number of Pad files may be accessed by PadFileCount.
The file name may be accessed by PadFileName.

Example

See also    RFBUTTON, PadStore, ListPadFiles, PadFileName, PadFileCount