advr.hlp (Topic list)
CurrentX, CurrentY Properties Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 [form.][picturebox.]CurrentX[ = coordinate%]
 [form.][picturebox.]CurrentY[ = coordinate%]
 
 Usage Notes
   ■ The X and Y coordinates are expressed in characters and are relative to
     the upper-left corner of the specified form or control.
 
   ■ Invoking certain methods immediately alters CurrentX and CurrentY
     values:
 
     Method        Action                    Effect on CurrentX, CurrentY
     ══════════    ══════════════════════    ═══════════════════════════════
     CLS           Clears form or control    Sets CurrentX and CurrentY to
                                             (0,0) respectively.
     PRINT exp;    Prints expressionlist     CurrentX and CurrentY take on
                                             coordinate values reflecting
                                             the position immediately after
                                             the last character printed.
     PRINT exp$    Prints expressionlist     CurrentY is increased by 1 and
                                             CurrentX is set to zero.
     PRINT exp$,   Prints expressionlist     CurrentX and CurrentY take on
                                             coordinate values reflecting
                                             the starting position of the
                                             next print zone on the same
                                             line.
     ───────────────────────────────────────────────────────────────────────
     See: CLS Method  PRINT Method
 
  ■ Visual Basic generates the error "Overflow" when PRINT method output has
    exceeded the 0 to 254 print range governed by the CurrentX and CurrentY
    property values.