Click here to Skip to main content
16,008,299 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Show new form without taking focus off first form Pin
rudy.net10-May-05 10:08
rudy.net10-May-05 10:08 
GeneralRe: Show new form without taking focus off first form Pin
carlos_rocha10-May-05 22:26
carlos_rocha10-May-05 22:26 
GeneralRe: Show new form without taking focus off first form Pin
carlos_rocha11-May-05 0:19
carlos_rocha11-May-05 0:19 
GeneralRe: Show new form without taking focus off first form Pin
rudy.net11-May-05 2:12
rudy.net11-May-05 2:12 
GeneralRe: Show new form without taking focus off first form Pin
carlos_rocha11-May-05 3:33
carlos_rocha11-May-05 3:33 
Generalhelp on add-in for outlook and outlook express Pin
iamalik10-May-05 3:48
professionaliamalik10-May-05 3:48 
GeneralCount lines in textbox Pin
josblow10-May-05 3:12
josblow10-May-05 3:12 
GeneralRe: Count lines in textbox Pin
Dave Kreskowiak10-May-05 8:42
mveDave Kreskowiak10-May-05 8:42 
There are no properties anywhere in the RichTextBox control, not even in the underlying Win32 control, that expose this information. You could try calculating the number of lines by dividing the height of the RichTextBox with the height of a string of characters with the same font and size of whats displayed. The problem with this is that the RTB can display text of varying sizes, thus, have varying line heights. The bottom line is that there is no reliable way of doing this.

What are you trying to accomplish with this?


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Count lines in textbox Pin
rudy.net10-May-05 10:28
rudy.net10-May-05 10:28 
GeneralPrinting Forms in VB.NET 2003 Pin
Treacherous_110-May-05 2:43
Treacherous_110-May-05 2:43 
GeneralRe: Printing Forms in VB.NET 2003 Pin
Treacherous_112-May-05 5:31
Treacherous_112-May-05 5:31 
Generalremoting deployment Pin
Rizwan Bashir10-May-05 0:37
Rizwan Bashir10-May-05 0:37 
Generalthumbnail emages Pin
suis9-May-05 21:47
suis9-May-05 21:47 
GeneralRe: thumbnail emages Pin
Dave Kreskowiak10-May-05 8:26
mveDave Kreskowiak10-May-05 8:26 
Generalcreating web services in Visual basic Pin
abhi20089-May-05 21:01
abhi20089-May-05 21:01 
GeneralRe: creating web services in Visual basic Pin
Dave Kreskowiak10-May-05 8:24
mveDave Kreskowiak10-May-05 8:24 
GeneralReturn an array within an object - Web Service Pin
aussieole9-May-05 20:41
aussieole9-May-05 20:41 
GeneralLarger Form Pin
gone839-May-05 18:50
gone839-May-05 18:50 
GeneralRe: Larger Form Pin
abhi20089-May-05 21:27
abhi20089-May-05 21:27 
GeneralRe: Larger Form Pin
Robert Rohde10-May-05 4:13
Robert Rohde10-May-05 4:13 
Generalparameterized query Pin
vaiology9-May-05 16:59
vaiology9-May-05 16:59 
GeneralRe: parameterized query Pin
Christian Graus9-May-05 17:41
protectorChristian Graus9-May-05 17:41 
GeneralRe: parameterized query Pin
vaiology9-May-05 17:53
vaiology9-May-05 17:53 
GeneralRe: parameterized query Pin
Christian Graus9-May-05 17:55
protectorChristian Graus9-May-05 17:55 
GeneralRe: parameterized query Pin
vaiology9-May-05 19:15
vaiology9-May-05 19:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.