Re: Lines in a text box

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Douglas Marquardt (no_spam_at_dummy.com)
Date: 04/21/04


Date: Wed, 21 Apr 2004 12:50:42 -0600

Hi Dale:

If you use a RichTextbox instead, then you won't have to
worry about the text fitting.

Doug.

"Dale Levesque" <dale at dynamicwindows.com> wrote in message news:udLWoj8JEHA.2380@TK2MSFTNGP09.phx.gbl...
> Is it possible to determine how many lines are in a multiline textbox
> control? (VB6)
>
> Dale
>
> What I'm actually trying to do is to fill the contents of a text box in an
> MS word document with the contents of the contents of a textbox on a VB6
> form. I have to have some way to determine whether they will fit.
>
>



Relevant Pages

  • Re: from VBA to DLL VB6 for securitys sake:recommendations sought
    ... This VB project is a simple demonstration of a VB6 DLL Function Library ... package, VB6 code, an executable, and an Excel test harness. ... Doug, Jon, Bob for your responses. ... recommendations; I'm a bit at sea as to what distinguishes the various ...
    (microsoft.public.excel.programming)
  • Re: Read info from a file
    ... Doug. ... > can try to fix it yourself by opening it in VB6 and once past the errors ...
    (microsoft.public.vb.syntax)
  • Re: Can Dotnet and VB6 exist in harmony on the same pc?
    ... directly related to the XP vb6 runtime. ... >> totally unique by itself and should be addressed separately regardless. ... >> Doug. ...
    (microsoft.public.vb.general.discussion)
  • Re: Lines in a text box
    ... account the differences between the two controls (word and vb6) ... > How do I insert a rich text box into a word document and why wouldn't i have ... >> worry about the text fitting. ... >> Doug. ...
    (microsoft.public.vb.controls)
  • Text box on VB6 form
    ... Is it possible to determine how many lines are in a multiline textbox ... Dale ... MS word document with the contents of the contents of a textbox on a VB6 ...
    (microsoft.public.office.developer.vba)