closeFrame: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
frame that has no close button. | frame that has no close button. | ||
'''NOTE''' | '''NOTE''' Frames created using '''temporary=0''' will not be removed and only made not visible. This function can not close dialogs opened with {{roll|dialog}}. Use {{func|closeDialog}} for that. | ||
|usage= | |usage= |
Latest revision as of 23:59, 16 November 2024
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 Frames created using temporary=0 will not be removed and only made not visible. This function can not close dialogs opened with [dialog():]. Use closeDialog() for that.Usage
[h: closeFrame(name)]