Hi
Why, if I use
UltraGrid1.Focus()
the Grid does not receive the focus?
Thanks
Hello Mariela77,
I have tried and the UltraGrid got the focus correctly. Could you please let me know what you would expect to happen after calling UltraGrid.Focus()?
Please feel free to let us know if you have any other questions.
Thanks, I now have more info.
I have a grid in which the user can insert lines by pressing Enter in the last column of the last line. In some cases, a line generates other lines that I make appear automatically, next to the first one, and are related to it but they are not enabled for the user to modify them.
When the user starts a new line, he has the option of using ESC to erase it and the focus should go the previous line. I have noted that when the previous line is one of these special ones that are not enabled, the Grid does not receive the focus but only when it is clicked... I think a line that is not enabled should receive the focus (even if it doesn't go in edit mode)...
Thanks again