Center
Center

Centers the frame on the given point

bSuccess = myStoryboard.Center( X_Coord, Y_Coord )
bSuccess = myStoryboard.Center( Object )

Return value
TRUE if the frame was centered successfully, otherwise FALSE.

Parameters
  • X_Coord
    X coordinate to center on
  • Y_Coord
    Y coordinate to center on
  • Object
    Graphical object (i.e. active object) to center on
Comments

You cannot center the screen on an object in the GUI for obvious reasons.

See also
Storyboard:CenterX
Storyboard:CenterY
Storyboard:GetXScroll
Storyboard:GetYScroll



JAM © 2005 no one in partiular
Project started by David Evans in 2005