closeFrame: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Conversion script moved page closeFrame to CloseFrame without leaving a redirect: Converting page title to first-letter uppercase)
m (Conversion script moved page CloseFrame to closeFrame: Converting page titles to lowercase)
(No difference)

Revision as of 23:28, 9 February 2023

closeFrame() Function

Introduced in version 1.3b70
Closes the specified macro frame that was previously created using [frame():]. If the

frame is not open then the function has no effect.

The most common use for this function is closing a frame based from a macro that is run when clicking on a link or button for the frame that has no close button.

NOTE this function can not close dialogs opened with [dialog():]. Use closeDialog() for that.

Usage

[h: closeFrame(name)]