[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
VS_Coord()           Allows the user to size a box on the screen

Description:

  VS_Coord allows the user to size a box on the screen through the use
  of the cursor control keys.  It returns the top left and bottom right
  coordinates to your program.

Syntax:     

  VS_Coord( @n_top, @n_Left, @n_Bottom, @n_Right )

Pass:       

  n_Top is a numeric value representing the starting top row.

  n_Left is a numeric value representing the starting left column.

  n_Bottom is a numeric value representing the starting bottom row.

  n_Right is a numeric value representing the starting right column.

Return:     

  Your variables will be changed to the new coordinate values.

Notes:      

  Please note the "@" sign preceeding each parameter.  This is required
  in order for VS_COORD to psuedo-return all four changed coordinates.

Example:    

  VS_Coord( @n_Top, @n_Left, @n_Bottom, @n_Right)

Usage:      

  VS_Coord() is handy for allowing the user to tell your program exactly
  where he/she wants a window, etc.

  When this procedure is called the user will see a box appear on the
  screen (at the starting coordinates you specified).  The cursor will
  be in the upper left corner of the box.  The user can move this corner
  of the box around the screen by using the cursor control keys.

  To move the cursor to the opposite corner of the box, the user should
  press the [HOME] key.  He/she can now move this corner of the box
  around the screen in the same fashion as the previous corner.

  Pressing [HOME] again will move the cursor back to the first corner.
  The [HOME] key can be used as many times as necessary to toggle which
  corner is being "moved".

  When the box is the right size and in the correct location, the user
  should press the [RETURN] key.

See Also: VS_Help() VS_MakeHlp() VS_Wind()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson