Textwidth question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe@aol.com

    #1

    Textwidth question

    I am rewritting a vb6 application and Iam stuch on how to replace the
    textwidth command. Any suggestions?
  • Herfried K. Wagner [MVP]

    #2
    Re: Textwidth question

    <Joe@aol.comsch rieb:
    >I am rewritting a vb6 application and Iam stuch on how to replace the
    textwidth command.
    'System.Drawing .Graphics.Measu reString'.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/

    Comment

    • Master Programmer

      #3
      Re: Textwidth question

      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


      Herfried K. Wagner [MVP] wrote:
      <Joe@aol.comsch rieb:
      I am rewritting a vb6 application and Iam stuch on how to replace the
      textwidth command.
      >
      'System.Drawing .Graphics.Measu reString'.
      >
      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://dotnet.mvps.org/dotnet/faqs/

      Comment

      • Phill W.

        #4
        Re: Textwidth question

        Joe@aol.com wrote:
        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.Measur eString()

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

        HTH,
        Phill W.

        Comment

        Working...