View_SetFrame

Prototype: View_SetFrame (GView, frameRect)

Metaclass Prototype: SetFrame (frameRect)

Description: Set the View’s frame to the specified region.

Parameters:

  • GView - the control’s reference
  • frameRect - a dict with x, y, w, h keys denoting the frame origin and size

Example:

StartWindow.SetFrame ({ 'x': 0, 'y': 0, 'h': 300, 'w': 300 })

See also: GetFrame

Return value: N/A


Back to function index, GUIScript introduction.