ZForms documentation/Frame

A frame inherits from Element and serves as a container for multiple elements. Every ZForm menu has at least one frame at all times, but frames can be put into frames for easy subpositioning.

setBaseResolution
Sets the base resolution of the menu in pixels. By default, the base resolution is set to 320x200.

init
Sets up a frame at pos coordinates in pixels and extends by size.