/// <summary> /// Overrides the <c>MouseUp</c> handler on this <c>YataPanelCols</c>. /// </summary> /// <param name="e"></param> protected override void OnMouseUp(MouseEventArgs e) { #if Clicks logfile.Log("YataPanelCols.OnMouseUp() e.Button= " + e.Button); #endif Cursor = Cursors.Default; IsCursorSplit = false; if (IsGrab) { #if Clicks logfile.Log(". clear IsGrab"); #endif IsGrab = false; if (ModifierKeys == Keys.None && e.Button == MouseButtons.Left && e.X != _grabPos) { #if Clicks logfile.Log(". . do col-width adjust"); #endif Col col = _grid.Cols[_grabCol]; col.UserSized = true; int w = col.width() + e.X - _grabPos; if (w < YataGrid._wId) { w = YataGrid._wId; } col.width(w, true); _grid.InitScroll(); _grid.Invalidator(YataGrid.INVALID_GRID | YataGrid.INVALID_COLS); } } _grid.Select(); }