Re: Text Box dimensions VB6 numeric vs Acess 2003 inches
- From: "Stuart McCall" <smccall@xxxxxxxxxxxxxxx>
- Date: Fri, 8 Aug 2008 20:11:33 +0100
"Bill" <bill@xxxxxxxx> wrote in message
news:x9qdnQlKabPG9QHVnZ2dnUVZ_qfinZ2d@xxxxxxxxxx
Hi Folks,
I find I need to create a routine that I had written in VB6 and create
it in Access 2003. I have a bunch of text boxes on the form.
VB6 has for example the property Left value 6720.
When I look at Access the values look like they're in inches.
Is there a formula to convert from like 6720 to inches?
I'm trying to get the forms to look very similar.
Thanks,
Bill
PS My actual email address is b i l l t e s t 0 0 2
and it's on hotmail.
I do this because I get enough spam as it is.
As Doug has mentioned, the values in VB are twips. VBA also uses twips, so
instead of looking at the form design property ***, switch to VBA and use
the immediate window, like:
?Forms!MyFormName!MyControlName.Left
You can also set the properties from here:
Forms!MyFormName!MyControlName.Left = 6720
.
- References:
- Prev by Date: Re: Spell Checker
- Next by Date: Re: Going around the master-child field setup to add new record
- Previous by thread: Re: Text Box dimensions VB6 numeric vs Acess 2003 inches
- Next by thread: QBF--"There isnt enough memory..."
- Index(es):