Hi all,
The following problem keeps bothering me: whenever a user clicks on a value within my grid, the first cell (1,1) always gets focus, after that the cell which the user clicked will get focus. The debugger confirmed this:
This only occurs when the grid is clicked for the first time (is it initialized somehow?) If the grid loses focus and it gains focus afterwards, this behaviour doesn't show.
How can I prevent this behaviour?
Since I'm filling fields outside the grid depending on the selected value, this behaviour makes them fill up twice and I just don't want it
The following problem keeps bothering me: whenever a user clicks on a value within my grid, the first cell (1,1) always gets focus, after that the cell which the user clicked will get focus. The debugger confirmed this:
Code:
38308.400, frmbestverd.gridresult.When()
38308.400, frmbestverd.gridresult.MouseDown(1, 0, 458, 276)
38308.400, frmbestverd.gridresult.columnartnaam.text1.When()
38308.400, frmbestverd.gridresult.columnartnaam.text1.GotFocus()
38308.400, frmbestverd.gridresult.columnartnaam.text1.Message()
38308.410, frmbestverd.gridresult.columnartnaam.text1.RangeLow()
38308.410, frmbestverd.gridresult.columnartnaam.text1.RangeHigh()
38308.410, frmbestverd.gridresult.columnartnaam.text1.Valid()
38308.410, frmbestverd.gridresult.columnartnaam.text1.LostFocus()
38308.410, frmbestverd.gridresult.columnbesteld.txtbesteld.When()
This only occurs when the grid is clicked for the first time (is it initialized somehow?) If the grid loses focus and it gains focus afterwards, this behaviour doesn't show.
How can I prevent this behaviour?
Since I'm filling fields outside the grid depending on the selected value, this behaviour makes them fill up twice and I just don't want it