OK, didn't try hard enough!
Paint.Font.RichTextWidth(TextString) should do the trick.
--
View this message in context:
http://old.nabble.com/Gambas3-Printing---text-width-tp32991752p32992108.html
Sent from the gambas-user mailing list archive at Nabble.com.
---
2011/12/17 Bill-Lancaster :
>
> I'm using
>
> Paint.DrawRichText(MoneyValue, x, y)
>
> and want to have money values right justified (ideally '.' justified).
>
> The Align.Right option doesn't help.
yes you need to specify right relative to ???
you need to specify the width and height o
I'm using
Paint.DrawRichText(MoneyValue, x, y)
and want to have money values right justified (ideally '.' justified).
The Align.Right option doesn't help.
Any ideas?
Gambas 2.99.6, qt4
--
View this message in context:
http://old.nabble.com/Gambas3-Printing---text-width-tp3299175