AD
Administrator
Syncfusion Team
May 5, 2004 07:17 PM UTC
These are some problems we will try to address in a future release. (Do not know exactly what release will have these fixed.)
Here is a forum thread on similar questions and it has a sample trying to work-around such problems through some events.
http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=12073
To try to have the cursor in the same position before and after resetting the backcolor on an active cell will likely require that you save the textbox.SelectionStart and textbox.SelectionsLength before the change and restore them after the change. The sample in the above forum thread has similar code (for a different reason though).
TK
Thomas Kratzer
May 5, 2004 10:14 PM UTC
Thanks for the quick answer. It works!!
I only had to use the GridTextBoxControl.TextChanged event of your example, because I don''t prevent the user of typing something wrong. I get the text there and I set the textcolor of GridControl.CurrentCell.. to red. I don''t have the focus jumping problem now without doing anything special about it.
Thanks again
Thomas