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)
looks like being in a panel causes these problems, but i need the panel for the splitter to work properly, any suggestions?
AdministratorMay 18, 2004 06:56 AM UTC
after the call to InitializeComponent() in the form''s constructor.
AdministratorMay 18, 2004 10:16 AM UTC
thanks, if i put there i get the following exception:
An unhandled exception of type ''System.ArgumentException'' occurred in system.windows.forms.dll
Additional information: ''-3227'' is not a valid value for ''LargeChange''. ''LargeChange'' must be greater than or equal to 0.
but if i move it to form_load it works.