resetFrame: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
|name=resetFrame
|name=resetFrame
|description=
|description=
Resets a frame to its default position.
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=

Revision as of 16:53, 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():].

Usage

resetFrame(frame)

Parameter

  • frame - A string containing the name of the frame that has its position reset.


See Also