|
Тема |
Re: Позициониране на курсора в (text) edit-контроли [re: X] |
|
Автор |
lndependent (point of view) |
|
Публикувано | 31.03.04 11:18 |
|
|
Разгледай SelectionStart и SelectionLength свойствата (само за System.Windows.Forms.TextBox).
Цитат от MSDN:
Note You can programmatically move the caret within the text box by setting the SelectionStart to the position within the text box where you want the caret to move to and set the SelectionLength property to a value of zero (0). The text box must have focus in order for the caret to be moved.
Каквото и да направите ще е незначително, но въпреки това е важно да го направите.
|
| |
|
|
|