Click here to Skip to main content
15,886,026 members
Home / Discussions / C#
   

C#

 
Questionobject[] initialization as a parameter Pin
clintsinger23-Jan-06 10:30
clintsinger23-Jan-06 10:30 
AnswerRe: object[] initialization as a parameter Pin
Andy Moore23-Jan-06 11:01
Andy Moore23-Jan-06 11:01 
GeneralRe: object[] initialization as a parameter Pin
clintsinger23-Jan-06 11:06
clintsinger23-Jan-06 11:06 
QuestionProblem with Textbox Scrollbar Pin
Wouter Neuteboom23-Jan-06 10:14
Wouter Neuteboom23-Jan-06 10:14 
AnswerRe: Problem with Textbox Scrollbar Pin
microsoc23-Jan-06 15:20
microsoc23-Jan-06 15:20 
GeneralRe: Problem with Textbox Scrollbar Pin
Wouter Neuteboom24-Jan-06 0:36
Wouter Neuteboom24-Jan-06 0:36 
GeneralRe: Problem with Textbox Scrollbar Pin
Wouter Neuteboom24-Jan-06 2:22
Wouter Neuteboom24-Jan-06 2:22 
AnswerRe: Problem with Textbox Scrollbar Pin
microsoc24-Jan-06 14:40
microsoc24-Jan-06 14:40 
are you having some event from the other controls before setting the text?
like for example, you have to click a button to append the text on your textbox?

if so, sorry but i forgot to tell you that you must call the Focus method of the textbox before setting the selectionstart. D'Oh! | :doh:

because the focus is on the other control that's why it doesn't show the cursor on your textbox.

and also, instead of "tb_Player_Messages.Lines.Length" use "tb_Player_Messages.Text.Length". Smile | :)
<br />
tb_Player_Messages.Text += _Message + "\r\n";<br />
tb_Player_Messages.Focus();<br />
tb_Player_Messages.SelectionStart = tb_Player_Messages.Text.Length;<br />


i tried it and it works fine.
hope that solves your problem. Smile | :)
Questionadding a flash file to the form Pin
Manu_8123-Jan-06 8:10
Manu_8123-Jan-06 8:10 
AnswerRe: adding a flash file to the form Pin
tarasn23-Jan-06 10:43
tarasn23-Jan-06 10:43 
GeneralRe: adding a flash file to the form Pin
Manu_8123-Jan-06 12:12
Manu_8123-Jan-06 12:12 
AnswerRe: adding a flash file to the form Pin
mitooki24-Jan-06 4:16
mitooki24-Jan-06 4:16 
QuestionGetting Selected text in webbrowser control Pin
emran83423-Jan-06 7:34
emran83423-Jan-06 7:34 
AnswerRe: Getting Selected text in webbrowser control Pin
tarasn23-Jan-06 21:35
tarasn23-Jan-06 21:35 
GeneralRe: Getting Selected text in webbrowser control Pin
emran83426-Jan-06 2:29
emran83426-Jan-06 2:29 
GeneralRe: Getting Selected text in webbrowser control Pin
tarasn26-Jan-06 10:41
tarasn26-Jan-06 10:41 
GeneralRe: Getting Selected text in webbrowser control Pin
emran83427-Jan-06 2:13
emran83427-Jan-06 2:13 
GeneralRe: It is Working... with using MSHTML; Pin
emran83428-Jan-06 5:39
emran83428-Jan-06 5:39 
QuestionAutoScroll Pin
Sabry190523-Jan-06 7:31
Sabry190523-Jan-06 7:31 
AnswerRe: AutoScroll Pin
tarasn23-Jan-06 11:38
tarasn23-Jan-06 11:38 
GeneralRe: AutoScroll Pin
Sabry190524-Jan-06 0:07
Sabry190524-Jan-06 0:07 
QuestionC# Stored Procs Pin
niceguyeddie199923-Jan-06 6:09
niceguyeddie199923-Jan-06 6:09 
AnswerRe: C# Stored Procs Pin
Xodiak23-Jan-06 6:21
Xodiak23-Jan-06 6:21 
GeneralRe: C# Stored Procs Pin
niceguyeddie199923-Jan-06 6:24
niceguyeddie199923-Jan-06 6:24 
GeneralRe: C# Stored Procs Pin
Colin Angus Mackay23-Jan-06 7:28
Colin Angus Mackay23-Jan-06 7:28 

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.