Xbasic

LAYOUT_DELETE Function

Syntax

L layout_delete(C layout_name ,C layout_type [,L flagRefreshControlPanel ])

Arguments

layout_name

The name of a form, browse, label, letter, or report layout.

layout_type

One of the following values: "Form", "Browse", "Label", "Letter", "Report".

flagRefreshControlPanel

Logical

Description

Deletes a Form, Browse, Label, Letter, or Report Layout

Discussion

LAYOUT_DELETE() deletes the named layout. The function displays an error message if there is no layout of the specified name and type, or if either field has a NULL value.

Example

layout_delete("Category_Form", "Form")
layout_delete("Method Browse", "Browse")

Limitations

Desktop applications only.

See Also