Forum Discussion
YMinaev
Staff
16 years agoHi,
Replace the following line in the ClickDataGridViewCell function :
with the string below:
Note that, in this case, the third parameter (colId) of this function should be anything greater than 0 and less than gridObj.Columns.Count.
Replace the following line in the ClickDataGridViewCell function :
Call GridObj.Click(bounds.X + bounds.Width / 2, bounds.Y + bounds.Height / 2)
with the string below:
Call GridObj.Click(bounds.Height / 2, bounds.Y + bounds.Height / 2)
Note that, in this case, the third parameter (colId) of this function should be anything greater than 0 and less than gridObj.Columns.Count.