Is there a function (or property) that returns the length
in pixels of the text in a text box?

Re: Width of text in pixels? by Rush

Rush
Sat Jun 28 17:52:21 CDT 2003

See TXTWIDTH() and FONTMETRIC(6).

- Rush

"Chris Alanson" <alansonc@pacbell.net> wrote in message
news:017801c33dc6$b206b9b0$a501280a@phx.gbl...
> Is there a function (or property) that returns the length
> in pixels of the text in a text box?



Re: Width of text in pixels? by Jack

Jack
Sat Jun 28 19:27:30 CDT 2003

In article <uxtjTfcPDHA.1608@TK2MSFTNGP11.phx.gbl>, rush.strong]@
[verizon.net says...
> See TXTWIDTH() and FONTMETRIC(6).

There is also the TextWidth method of forms and _screen, which gives the
actual width rather than the width based on the average character width.

>
> - Rush
>
> "Chris Alanson" <alansonc@pacbell.net> wrote in message
> news:017801c33dc6$b206b9b0$a501280a@phx.gbl...
> > Is there a function (or property) that returns the length
> > in pixels of the text in a text box?
>
>
>

Re: Width of text in pixels? by Chris

Chris
Sat Jun 28 22:04:20 CDT 2003

Thanks!

>-----Original Message-----
>See TXTWIDTH() and FONTMETRIC(6).
>
> - Rush
>
>"Chris Alanson" <alansonc@pacbell.net> wrote in message
>news:017801c33dc6$b206b9b0$a501280a@phx.gbl...
>> Is there a function (or property) that returns the
length
>> in pixels of the text in a text box?
>
>
>.
>