Click here to Skip to main content
15,905,144 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to instantiate an object with a generic parameter? Pin
Giorgi Dalakishvili31-Jan-08 8:18
mentorGiorgi Dalakishvili31-Jan-08 8:18 
AnswerRe: How to instantiate an object with a generic parameter? Pin
Ennis Ray Lynch, Jr.31-Jan-08 9:00
Ennis Ray Lynch, Jr.31-Jan-08 9:00 
AnswerRe: How to instantiate an object with a generic parameter? Pin
Le centriste31-Jan-08 10:05
Le centriste31-Jan-08 10:05 
GeneralRe: How to instantiate an object with a generic parameter? Pin
michal.kreslik31-Jan-08 10:26
michal.kreslik31-Jan-08 10:26 
GeneralRe: How to instantiate an object with a generic parameter? Pin
Le centriste31-Jan-08 12:59
Le centriste31-Jan-08 12:59 
GeneralRe: How to instantiate an object with a generic parameter? Pin
michal.kreslik31-Jan-08 13:17
michal.kreslik31-Jan-08 13:17 
AnswerRe: How to instantiate an object with a generic parameter? Pin
darkelv31-Jan-08 14:18
darkelv31-Jan-08 14:18 
GeneralRe: How to instantiate an object with a generic parameter? Pin
michal.kreslik6-Feb-08 4:05
michal.kreslik6-Feb-08 4:05 
AnswerRe: How to instantiate an object with a generic parameter? Pin
Mark Churchill1-Feb-08 2:47
Mark Churchill1-Feb-08 2:47 
GeneralRe: How to instantiate an object with a generic parameter? Pin
michal.kreslik6-Feb-08 22:12
michal.kreslik6-Feb-08 22:12 
GeneralRe: How to instantiate an object with a generic parameter? [modified] Pin
Mark Churchill7-Feb-08 0:07
Mark Churchill7-Feb-08 0:07 
GeneralRefresh Pin
kibromg31-Jan-08 7:14
kibromg31-Jan-08 7:14 
GeneralRe: Refresh Pin
pmarfleet31-Jan-08 8:43
pmarfleet31-Jan-08 8:43 
Generalmarshaling an array of structs Pin
damianrda31-Jan-08 6:23
damianrda31-Jan-08 6:23 
GeneralDeleting Outlook Appointments Pin
NewToAspDotNet31-Jan-08 6:15
NewToAspDotNet31-Jan-08 6:15 
GeneralNesting panels Pin
DSdragondude31-Jan-08 5:29
DSdragondude31-Jan-08 5:29 
QuestionRe: Nesting panels Pin
TJoe31-Jan-08 5:38
TJoe31-Jan-08 5:38 
GeneralMulti Colored text in a tree view. Pin
RKavanagh31-Jan-08 5:02
RKavanagh31-Jan-08 5:02 
GeneralRe: Multi Colored text in a tree view. Pin
Luc Pattyn31-Jan-08 5:26
sitebuilderLuc Pattyn31-Jan-08 5:26 
QuestionHow to make form as a model Window??? Pin
Neo Andreson31-Jan-08 4:48
Neo Andreson31-Jan-08 4:48 
AnswerRe: How to make form as a model Window??? Pin
Skippums31-Jan-08 4:53
Skippums31-Jan-08 4:53 
GeneralRe: How to make form as a model Window??? Pin
Neo Andreson31-Jan-08 17:46
Neo Andreson31-Jan-08 17:46 
GeneralText Box Selection Pin
StyleGuide31-Jan-08 3:36
StyleGuide31-Jan-08 3:36 
Hi there,

Does anybody know how I can select the entire contents of a text box from the end to the start? (thus allowing the start to be displayed in the text box, if the text is too long to fit).

Below is (obviously) selecting from left to right:

this.txtName.SelectionStart = 0;<br />
this.txtName.SelectionLength = txtName.Text.Length;


so I need something like:

this.txtName.SelectionStart  = txtName.Text.Length;<br />
this.txtName.SelectionEnd = 0;


but Text Box has no SelectionEnd Property...

Thanks!
GeneralRe: Text Box Selection Pin
CKnig31-Jan-08 3:46
CKnig31-Jan-08 3:46 
GeneralRe: Text Box Selection Pin
StyleGuide31-Jan-08 4:37
StyleGuide31-Jan-08 4:37 

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.