•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileFORM_CENTER(tree[,fx,fy,fw,fh])

tree: iexp
fx, fy, fw, fh: ivar

This function centers the tree, i.e. Dialog box, ect, on the screen. Its
position can then be found.

Return value will always be 1.

    tree - Address of the object tree.
    fx   - Returns the x-coordinate of the top left corner.
    fy   - Returns the y-coordinate of the top left corner.
    fw   - Returns the width of the centered box.
    fh   - Returns the height of the centered box.

The parameters fx, fy, fw, and fh are optional, these values can also be found
by querying GINTOUT(1) to GINTOUT(4).

form_center()+