Click here to Skip to main content
15,913,027 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Find Functionality Pin
Dicescuz31-Aug-04 13:07
Dicescuz31-Aug-04 13:07 
Questionhow to get a project forms name Pin
shayperi31-Aug-04 3:52
shayperi31-Aug-04 3:52 
QuestionHow to enable the both vertical/horizontal scroll bars? Pin
sha_noodle31-Aug-04 3:36
sha_noodle31-Aug-04 3:36 
AnswerRe: How to enable the both vertical/horizontal scroll bars? Pin
Dave Kreskowiak31-Aug-04 5:19
mveDave Kreskowiak31-Aug-04 5:19 
AnswerRe: How to enable the both vertical/horizontal scroll bars? Pin
Mekong River31-Aug-04 5:19
Mekong River31-Aug-04 5:19 
GeneralRe: How to enable the both vertical/horizontal scroll bars? Pin
Dave Kreskowiak31-Aug-04 6:18
mveDave Kreskowiak31-Aug-04 6:18 
GeneralRe: How to enable the both vertical/horizontal scroll bars? Pin
Mekong River31-Aug-04 6:54
Mekong River31-Aug-04 6:54 
GeneralRe: How to enable the both vertical/horizontal scroll bars? Pin
Dave Kreskowiak31-Aug-04 7:33
mveDave Kreskowiak31-Aug-04 7:33 
According to the docs, still not true.

From the VB6 RichTextBox docs:
Remarks

For a RichTextBox control with setting 1 (Horizontal), 2 (Vertical), or 3 (Both), you must set the MultiLine property to True.

At run time, the Microsoft Windows operating environment automatically implements a standard keyboard interface to allow...



And from the VB6 MultiLine (RTB Control) docs:
Remarks

A multiple-line RichTextBox control wraps text as the user types text extending beyond the text box.

You can also add scroll bars to a larger RichTextBox control using the ScrollBars property. If no HScrollBar control (horizontal scroll bar) is specified, the text in a multiple-line RichTextBox automatically wraps.


[EDIT]
Oooppss! I forget to put in here, that you can change the RightMargin property so it sits outside the visible boundries of the RTB control to get the scroll bar to appear when multiline text goes outside the visible boundries of the control.

From the VB6 ScrollBars property of the RichTextBox control:
A horizontal scrollbar will appear only when the RightMargin property is set to a value that is larger than the width of the control. (The value can also be equal to, or slightly smaller than the width of the control.)


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

GeneralChoosing a file Pin
Mega131-Aug-04 2:58
Mega131-Aug-04 2:58 
GeneralRe: Choosing a file Pin
Purple Monk31-Aug-04 3:05
Purple Monk31-Aug-04 3:05 
GeneralRe: Choosing a file Pin
Mega131-Aug-04 3:17
Mega131-Aug-04 3:17 
GeneralRe: Choosing a file Pin
Mekong River31-Aug-04 15:16
Mekong River31-Aug-04 15:16 
GeneralRichtxt Adding Line by line Pin
YK Prakash31-Aug-04 2:19
YK Prakash31-Aug-04 2:19 
GeneralRe: Richtxt Adding Line by line Pin
Dave Kreskowiak31-Aug-04 4:07
mveDave Kreskowiak31-Aug-04 4:07 
GeneralRe: Richtxt Adding Line by line Pin
YK Prakash4-Sep-04 0:35
YK Prakash4-Sep-04 0:35 
GeneralCreating a directory programmatically Pin
beowulfagate30-Aug-04 23:53
beowulfagate30-Aug-04 23:53 
GeneralRe: Creating a directory programmatically Pin
Purple Monk31-Aug-04 1:34
Purple Monk31-Aug-04 1:34 
GeneralRe: Creating a directory programmatically Pin
Purple Monk31-Aug-04 1:43
Purple Monk31-Aug-04 1:43 
GeneralRe: Creating a directory programmatically Pin
progload31-Aug-04 8:44
progload31-Aug-04 8:44 
GeneralCustom controls Pin
MrMickeyDeeGimp30-Aug-04 22:13
MrMickeyDeeGimp30-Aug-04 22:13 
GeneralRe: Custom controls Pin
Dave Kreskowiak31-Aug-04 5:15
mveDave Kreskowiak31-Aug-04 5:15 
GeneralPrint to file Pin
r i s h a b h s30-Aug-04 20:41
r i s h a b h s30-Aug-04 20:41 
GeneralRe: Print to file Pin
Dave Kreskowiak31-Aug-04 4:00
mveDave Kreskowiak31-Aug-04 4:00 
GeneralRichTextBox Pin
syedusman30-Aug-04 19:58
syedusman30-Aug-04 19:58 
GeneralGenerate errorlevel code Pin
sybux200030-Aug-04 19:46
sybux200030-Aug-04 19:46 

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.