advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Left, Top Properties Details
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 [form.][ctlname.]Left[ = horipos%]
 [form.][ctlname.]Top[ = vertpos%]
 
 Usage Notes
   ■ Left and Top property values are expressed in terms of characters.
 
   ■ The values for these properties change as the object is moved by the
     user or by code.
 
   ■ Control values of the Left and Top properties are measured relative to
     the container form or parent control.
 
   ■ Use Left and Top, and their related properties, Height and Width, for
     measurements or calculations based on an object's total area, such as
     sizing or moving the object. See: ◄Height Property►  ◄Width Property►
 
   ■ Use ScaleHeight and ScaleWidth for measurements based only on an
     object's internal area, such as drawing or moving objects within an
     object. Note: These properties apply only to forms and picture boxes.
     See: ◄ScaleHeight Property►  ◄ScaleWidth Property►
 
   ■ (0,0) is the top left side of the screen when using Left or Top with
     forms.
 
   ■ (0,0) is the top left side of the container form or parent control when
     using Left or Top with controls.
     See: ◄Parent and Child Relationships►