Re: [Gambas-user] What replaces Desktop.Scale in gambas3?

2011-09-26 Thread Fabien Bodard
2011/9/26 Bruce Bruen bbr...@paddys-hill.net: Thanks Fabian, That (TextWidth) was what I didn't search for. Got it working, but it is interesting that I have to bump the final width value by an empirically determined amount to prevent the last letter from being chopped.  The code if anyone is

Re: [Gambas-user] What replaces Desktop.Scale in gambas3?

2011-09-25 Thread Bruce Bruen
Thanks Fabian, That (TextWidth) was what I didn't search for. Got it working, but it is interesting that I have to bump the final width value by an empirically determined amount to prevent the last letter from being chopped. The code if anyone is interested is :

[Gambas-user] What replaces Desktop.Scale in gambas3?

2011-09-24 Thread Bruce Bruen
I'm trying to set a gridview column width to the maximum length of the strings in the column. I can find the maximum width in terms of the length of the string easily but what do I multiply that by to get the desired cloumn width? I have searched through the wiki but I just cant seem to find what