I was just adding a splitter to a screen when for no obvious reason the MouseControllerDispatcher is empty.
i ran the two in a file compare and dont see the problem.
attached are the before and after splitter.
private void Form21_Load(object sender, System.EventArgs e)
{
this.gridGroupingControl1.TableOptions.ListBoxSelectionMode = SelectionMode.MultiExtended;
GridSelectCellsMouseController controller = null;
foreach (IMouseController mc in this.gridGroupingControl1.TableControl.MouseControllerDispatcher)
{
if (mc is GridSelectCellsMouseController)
{
controller = mc as GridSelectCellsMouseController;
}
}
if (controller != null)
{
this.gridGroupingControl1.TableControl.MouseControllerDispatcher.Remove(controller);
this.gridGroupingControl1.TableControl.MouseControllerDispatcher.Add(new MyGridSelectCellsMouseController(this.gridGroupingControl1.TableControl));
}
badmouse_7414.zip