Changing Left and Top properties

  • Thread starter Thread starter Kevin C Niven
  • Start date Start date
K

Kevin C Niven

I would like to dynamically change the left and top properties of a
control on a form, based on the value of a cbo setting.

My problem is that, say, the control's Top property is originally set
in screen inches. So when I use:

My.ControlName.Top = <control's original value> + <some value>

Access interprets the values to be pixels.

I assume I don't want pixels because I don't know the resolution of
the monitor on any particular machine.

I would like the value I'm setting the Top param to to be inches.

How do I do this?


Many thanks,
Kevin
 
Back
Top