Xbasic
LAYOUT_RENAME Function
Syntax
L layout_rename(C layout_name ,C layout_type ,C new_name [,L duplicate [,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".
- new_name
The new name of the layout.
- duplicate
Logical. Optional. Default = .F. .T. = Creates a copy of the layout with the new name. .F. = Renames the existing copy.
- flagRefreshControlPanel
Logical
Description
LAYOUT_RENAME() renames or copies a form, browse, label, letter, or report.
Example
layout_rename("EditForm", "Form", "EditForm2", .T.) -> new form named "EditForm2"
Limitations
Desktop applications only.
See Also