resetFrame: 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 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= |
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.