RFMENU.DeleteMenu

boolean DeleteMenu(BSTR pszMenuName)

Function DeleteMenu(pszMenuName As String) As Boolean

Deletes an existing menu file in the Client.

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

Parameters

pszMenuName
    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 StoreMenu function, and deleted by this (DeleteMenu) function.
The file array is built by the ListMenuFiles function.
The number of menu files may be accessed by MenuFileCount.
The filename may be accessed by MenuFileName.

Example

See also    RFMENU, StoreMenu, MenuFileName, MenuFileCount, ListMenuFiles