Purpose
Allows you to remove legend frames from an existing Legend window created with the Create Designer Legend statement or from a Layout window. You can issue this statement from the MapBasic window in MapInfo Pro.
Syntax
Remove Designer Frame
[ Window legend_or_layout_window_id ]
Id frame_id, frame_id, frame_id, ...
legend_or_layout_window_id is an integer window identifier for the Legend Designer or Layout window that you can obtain by calling the FrontWindow() function and the WindowID() function.
frame_id is the ID of the frame on the legend or layout. You cannot use a layer name. For example, three frames on a legend or layout would have the successive IDs, 1, 2, and 3.
If you omit the Window clause, the statement operates on the frontmost window, or the frontmost Legend window, or the frontmost Layout window as the case may be.
See Also:
Add Designer Frame statement, Alter Designer Frame statement, Create Designer Legend statement, Set Designer Legend statement