I have one form with 2 panels. One of the panels has several radio buttons so
that you can select one of several tables from a database. There are also 2
push buttons, one to retrive the data and the other to update the data.
On the second panel there is a datagrid. After pressing the one button to
retrieve the data and bind it to the datagrid I attempt to scroll the
datagrid using the mousewheel. The datagrid starts to scroll but suddenly the
focus leaves the grid and goes to another tab stop.
How can I prevent this type of behavior? or what's causng the focus to shift
away from the grid?
|