resetFrame: Difference between revisions
Jump to navigation
Jump to search
m (Conversion script moved page resetFrame to ResetFrame without leaving a redirect: Converting page title to first-letter uppercase) |
No edit summary |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|name=resetFrame | |name=resetFrame | ||
|description= | |description= | ||
Resets a frame to | Resets a frame to the center of the primary display. Useful if a frame position is set beyond the viewable area of the current display.<br> | ||
'''NOTE''' This function can not reset dialogs opened with {{roll|dialog}}. | |||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
resetFrame(frame) | resetFrame(frame) | ||
</ | </syntaxhighlight> | ||
'''Parameter''' | '''Parameter''' | ||
{{param|frame|A string containing the name of the frame that has its position reset.}} | {{param|frame|A string containing the name of the frame that has its position reset.}} |
Latest revision as of 23:59, 16 November 2024
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
resetFrame() Function
Resets a frame to the center of the primary display. Useful if a frame position is set beyond the viewable area of the current display.
NOTE This function can not reset dialogs opened with [dialog():].
NOTE This function can not reset dialogs opened with [dialog():].
Usage
resetFrame(frame)
Parameter
frame
- A string containing the name of the frame that has its position reset.