Click here to Skip to main content
15,892,298 members
Home / Discussions / C#
   

C#

 
QuestionComboBox bug or feature? Pin
r.t.22-Jul-02 4:57
r.t.22-Jul-02 4:57 
AnswerRe: ComboBox bug or feature? Pin
Jasper John22-Jul-02 5:26
sussJasper John22-Jul-02 5:26 
AnswerRe: ComboBox bug or feature? Pin
Chris Rickard22-Jul-02 7:44
Chris Rickard22-Jul-02 7:44 
GeneralTyped DataSets and casing problems Pin
Andrew Connell22-Jul-02 4:33
Andrew Connell22-Jul-02 4:33 
GeneralRe: Typed DataSets and casing problems Pin
jparsons22-Jul-02 5:30
jparsons22-Jul-02 5:30 
GeneralRe: Typed DataSets and casing problems Pin
Andrew Connell22-Jul-02 6:55
Andrew Connell22-Jul-02 6:55 
GeneralScrolling in a RichTexBox Pin
jpeg22-Jul-02 3:51
jpeg22-Jul-02 3:51 
GeneralRe: Scrolling in a RichTexBox Pin
Steven Behnke22-Jul-02 7:30
Steven Behnke22-Jul-02 7:30 
All you will need to do is...

int index=dialogTextBox.TextLength;
dialogTextBox.AppendText(message+"\r\n");

// Inserted here
dialogTextBox.Focus();

dialogTextBox.Select(index, message.Length);
dialogTextBox.SelectionColor=myColor;

// Focus your entry box back again here.

Or you can write an On Text Changed handler, like I had to that will focus the box, scroll to the caret, then focus back to the entry. You will have to do this if you are adding text to the box from a thread that you created to read from the socket like I did. Doh!

-Steven

GeneralRe: Scrolling in a RichTexBox Pin
jpeg22-Jul-02 21:37
jpeg22-Jul-02 21:37 
GeneralRe: Scrolling in a RichTexBox Pin
Steven Behnke23-Jul-02 4:09
Steven Behnke23-Jul-02 4:09 
GeneralHelp With DataSets Pin
Li Mu Bai22-Jul-02 3:14
Li Mu Bai22-Jul-02 3:14 
GeneralRe: Help With DataSets Pin
Roger Stewart23-Jul-02 6:12
professionalRoger Stewart23-Jul-02 6:12 
GeneralDataSet Pin
Li Mu Bai22-Jul-02 1:38
Li Mu Bai22-Jul-02 1:38 
GeneralRe: DataSet Pin
James T. Johnson22-Jul-02 1:55
James T. Johnson22-Jul-02 1:55 
GeneralInstalling CollectionGen - How I did it Pin
James T. Johnson22-Jul-02 0:44
James T. Johnson22-Jul-02 0:44 
GeneralRe: Installing CollectionGen - How I did it Pin
Nish Nishant22-Jul-02 3:46
sitebuilderNish Nishant22-Jul-02 3:46 
GeneralRe: Installing CollectionGen - How I did it Pin
James T. Johnson22-Jul-02 6:44
James T. Johnson22-Jul-02 6:44 
QuestionVideo Capture Hardware? Pin
Steven Behnke21-Jul-02 21:08
Steven Behnke21-Jul-02 21:08 
QuestionStatusbar with 3 sliders??? Pin
Daniel Strigl21-Jul-02 21:07
Daniel Strigl21-Jul-02 21:07 
AnswerRe: Statusbar with 3 sliders??? Pin
SHaroz22-Jul-02 5:49
SHaroz22-Jul-02 5:49 
QuestionC# - language design by committee ??? Pin
Christian Graus21-Jul-02 12:55
protectorChristian Graus21-Jul-02 12:55 
AnswerRe: C# - language design by committee ??? Pin
Rama Krishna Vavilala21-Jul-02 15:16
Rama Krishna Vavilala21-Jul-02 15:16 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 15:28
protectorChristian Graus21-Jul-02 15:28 
GeneralRe: C# - language design by committee ??? Pin
Rama Krishna Vavilala21-Jul-02 15:38
Rama Krishna Vavilala21-Jul-02 15:38 
GeneralRe: C# - language design by committee ??? Pin
Christian Graus21-Jul-02 15:40
protectorChristian Graus21-Jul-02 15:40 

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.