Repositioning a command button

  • Thread starter Thread starter bILL
  • Start date Start date
B

bILL

I have a command button which must be positioned in a
different spot on a form if the user selects a certain
action. I need the correct syntax to reposition the
control using the "cmdExit.Left =" function.

Thanks
 
cmdExit.Left = 100

or any number you want.
hth
Al Camp

Access measures positions using Twips, 1440 per inch.
If [SomeControl] = SomeCriteria Then
cmdExit.left = .5 * 1440
cmd.Exit.Top = 1 * 1440
Else
cmdExit.left = 2 * 1440
cmd.Exit.Top = 3 * 1440
End If
 
Back
Top