Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Feb 2004
    Location
    Burgas, Bulgaria
    Posts
    209
    Thanks
    0
    Thanked 0 Times in 0 Posts

    MoveLeft (Access 2000)

    i want to use the command MoveLeft to move my control in the form to the left, with 10 cm.What is the command line?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: MoveLeft (Access 2000)

    MoveLeft does not exist in Access VBA (it is a method in Word VBA).

    Controls have a Move method, but if you want to move a control to the left, you only need to change its Left property. This property is measured in twips. There are 1440 twips in one inch, and one inch is 2.54 cm.

    Say that your control is named txtTest. The instruction to move it 10 cm to the left is

    Me.txtTest.Left = Me.txtTest.Left - 10 * 1440 / 2.54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •