Changing Left and Top properties

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top