Textwidth question

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

I am rewritting a vb6 application and Iam stuch on how to replace the
textwidth command. Any suggestions?
 
Now is the perfect time for you to switch to another development
platform. If you havnt learned VB.NET yet then consider my advice.
Visual Studio.NET is complete and utter garbage. It will enable you to
work at half the speed you used to. Consider any other dev platform -
forget MS. They shit on us by destroying our language.

The Grand Master
 
I am rewritting a vb6 application and Iam stuch on how to replace the
textwidth command. Any suggestions?

I always used to use a hidden Label, set its Caption and read off its
Width. Maybe I still can ...

In the Brave New World,

System.Drawing.Graphics.MeasureString()

does the job; the "fun" part is finding a Graphics object that you can
use to do this ... ;-)

HTH,
Phill W.
 
Back
Top