[Gambas-user] TextWidth

Fabián Flores Vadell fabianfloresvadell at ...626...
Sat Sep 4 15:15:11 CEST 2010


2010/9/4 Benoît Minisini <gambas at ...1...>:
>> The best solution that I found was:
>>
>> txtSomeThing.Width = txtSomeThing.TextWidth(txtSomeThing.Text & "W")
>
> This is not a solution, as the width of the border is not related to the width
> of the "W" character at all.

I know that, but it works much better than "+N". However Is ugly and
fallible too.

-- 
Fabián Flores Vadell
www.speedbooksargentina.blogspot.com




More information about the User mailing list