How does one go about setting the cursor position in a .NET CF TextBox?
You use a combination of the TextBox.SelectionStart and TextBox.SelectionLength.
For example,
private void textBox1_GotFocus(object sender, System.EventArgs e)
{
textBox1.SelectionStart = 5;
textBox1.SelectionLength = 0;
}
from groups.google.
Friday, July 29, 2005
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment