|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
DataGridView and DateTimePicker on same form cause flickering VS2005Has anyone experienced this problem? To create the problem, simply place a DateTimePicker and DataGridView on a form. Add some columns to the DataGridView in designer mode and then run. It is easier to see the flicker if you add a few rows to the grid(just add a few rows by clicking the add row) then go to the DateTimePicker and click the down arrow and change the date. Usually 3 or 4 seconds after the calendar disappears, the DataGridView will flicker (sometimes several times) with another grid appearing over the existing one. I've tried enabling doublebuffering and the like but can't prevent the flicker. The flicker only happens when a DateTimePicker is used, for instance a combo box does not cause the flicker. Anyone having a workaround? I'm using VS2005 with SP1 on WindowsXP. Thanks Allan |
|||||||||||||||||||||||