Click here to Skip to main content
15,915,328 members
Home / Discussions / C#
   

C#

 
GeneralRe: TextBox Pin
Heath Stewart22-Dec-04 12:40
protectorHeath Stewart22-Dec-04 12:40 
GeneralRe: TextBox Pin
Aviv Halperin22-Dec-04 12:20
Aviv Halperin22-Dec-04 12:20 
GeneralRe: TextBox Pin
Skynyrd22-Dec-04 12:29
Skynyrd22-Dec-04 12:29 
GeneralRe: TextBox Pin
Aviv Halperin22-Dec-04 12:39
Aviv Halperin22-Dec-04 12:39 
GeneralRe: TextBox Pin
Skynyrd22-Dec-04 12:46
Skynyrd22-Dec-04 12:46 
GeneralRe: TextBox Pin
Heath Stewart22-Dec-04 12:50
protectorHeath Stewart22-Dec-04 12:50 
GeneralRe: TextBox Pin
Aviv Halperin22-Dec-04 13:13
Aviv Halperin22-Dec-04 13:13 
GeneralRe: TextBox Pin
Heath Stewart22-Dec-04 13:18
protectorHeath Stewart22-Dec-04 13:18 
That's why you assign SelectionStart then SelectionLength (in that order). If that's not working for you, then you'll need to move the caret by P/Invoking SendMessage and sending EM_SETSEL message (0x00b1) to the Window handle (the Handle property on every control).

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralRe: TextBox Pin
Aviv Halperin22-Dec-04 13:20
Aviv Halperin22-Dec-04 13:20 
GeneralRe: TextBox Pin
Matt Gerrans22-Dec-04 12:31
Matt Gerrans22-Dec-04 12:31 
GeneralRe: TextBox Pin
Aviv Halperin22-Dec-04 12:41
Aviv Halperin22-Dec-04 12:41 
GeneralRe: TextBox Pin
Heath Stewart22-Dec-04 12:43
protectorHeath Stewart22-Dec-04 12:43 
GeneralRe: TextBox Pin
Aviv Halperin22-Dec-04 12:49
Aviv Halperin22-Dec-04 12:49 
GeneralRe: TextBox Pin
Aviv Halperin22-Dec-04 12:51
Aviv Halperin22-Dec-04 12:51 
GeneralRe: TextBox Pin
Skynyrd22-Dec-04 12:56
Skynyrd22-Dec-04 12:56 
GeneralRe: TextBox Pin
Aviv Halperin22-Dec-04 13:04
Aviv Halperin22-Dec-04 13:04 
GeneralFile.Copy question Pin
Marius Schumann22-Dec-04 9:39
Marius Schumann22-Dec-04 9:39 
GeneralRe: File.Copy question Pin
Heath Stewart22-Dec-04 12:06
protectorHeath Stewart22-Dec-04 12:06 
GeneralRe: File.Copy question Pin
Salil Khedkar22-Dec-04 19:32
Salil Khedkar22-Dec-04 19:32 
GeneraltextBox vs. richtextBox and savefiledialog controls Pin
Pyro Joe22-Dec-04 8:42
Pyro Joe22-Dec-04 8:42 
GeneralRe: textBox vs. richtextBox and savefiledialog controls Pin
Dave Kreskowiak22-Dec-04 9:53
mveDave Kreskowiak22-Dec-04 9:53 
Generalgetting html stored in xml using XmlTextReader() Pin
HudsonKane22-Dec-04 8:23
HudsonKane22-Dec-04 8:23 
GeneralPassing data from ASPX to ASCX Pin
Tony Nero22-Dec-04 8:22
Tony Nero22-Dec-04 8:22 
GeneralRe: Passing data from ASPX to ASCX Pin
Heath Stewart22-Dec-04 11:52
protectorHeath Stewart22-Dec-04 11:52 
Generalupdate dataadapter fails on duplicate identity column key Pin
JeromeKJerome22-Dec-04 6:51
JeromeKJerome22-Dec-04 6:51 

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.