Home Forums WinForms controls Xceed Grid for WinForms Prevent cell focus Reply To: Prevent cell focus

User (Old forums)
Member
Post count: 23064

Hi Andre,

Thanks for the prompt answer. I have tried the above in the Grid’s MouseClick and it does indeed work in putting the focus back into the CheckBox column (ie the ‘BoolColumn’). However, it leaves me with a nasty ‘flicker affect’ as the grid scrolls to bring the second column into view and then immediately returns to bring the first column back into view. I was thinking that it might be better to hide the grid during this time, as a slight flicker of the grid (ie setting Visible = false and then back to true after scrolling to column 1) would be preferable to the flicker caused by the column scrolling. Is there any event that is fired prior to the grid scrolling to another column that I might be able to capture? I could use this event to then hide the grid whilst I move the checkbox column back into view.

Regards,

Russell

Imported from legacy forums. Posted by russellcoombes (had 476 views)