cyberjunk
05-08-2013 17:24:47
I'm trying to figure out if this is supported by Miyagi TextBox control:
1) TextBox control does not seem to support the left and right arrow-keys on my keyboard to move the caret location. Is this normal? The Backspace key works and positioning by clicking with mouse also moves the caret. I could use the Key events to code it manually, but I expected this to be some kind of "builtin" feature? May be I'm missing something? I found in TextBox.cs, which makes me think it's not supported, but why?
2) Typical (Winforms, Java, Web, ..) TextBox implementations allow you to insert more text than what can be displayed. If you hit the displaylimit/the right border, then it basically removes the first character on the left end and adds the new one to the right. Miyagi TextBox control already has some "DisplayedText" and "Text" property, but I assume this behaviour is not yet supported by Miyagi TextBox? At least I could find nothing related to get working.
THANKS
1) TextBox control does not seem to support the left and right arrow-keys on my keyboard to move the caret location. Is this normal? The Backspace key works and positioning by clicking with mouse also moves the caret. I could use the Key events to code it manually, but I expected this to be some kind of "builtin" feature? May be I'm missing something? I found in TextBox.cs, which makes me think it's not supported, but why?
protected internal override bool IsArrowKeyMovementBlocked
{
get
{
return true;
}
}
2) Typical (Winforms, Java, Web, ..) TextBox implementations allow you to insert more text than what can be displayed. If you hit the displaylimit/the right border, then it basically removes the first character on the left end and adds the new one to the right. Miyagi TextBox control already has some "DisplayedText" and "Text" property, but I assume this behaviour is not yet supported by Miyagi TextBox? At least I could find nothing related to get working.
THANKS