Posted 8 September 2017, 5:04 am EST
Using C# 3.5 in developing a Windows app. On one of the forms, there is a listbox and a spread control. When the use double-clicks on a row in the listbox, data from the object stored in that row of the listbox is used to create a new row on the spread control and numerous cells in the newly created row are populated with data.
How do you automatically set focus on a particular column in the newly created row (focus on a given cell knowing the row index and the column index) such that the user could start enter data in that cell without having tab or use the mouse?
This requirment is not just for the ease of entering data but it would also permit the editing of the data when focus leaves the newly created row.