mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Enable auto scrolling in data- and query grid(s) when mouse is used to select rows. Fixes issue #849.
This commit is contained in:
@ -1174,6 +1174,7 @@ object MainForm: TMainForm
|
|||||||
Width = 575
|
Width = 575
|
||||||
Height = 228
|
Height = 228
|
||||||
Align = alClient
|
Align = alClient
|
||||||
|
AutoScrollDelay = 50
|
||||||
EditDelay = 0
|
EditDelay = 0
|
||||||
Header.AutoSizeIndex = -1
|
Header.AutoSizeIndex = -1
|
||||||
Header.DefaultHeight = 17
|
Header.DefaultHeight = 17
|
||||||
@ -1186,6 +1187,7 @@ object MainForm: TMainForm
|
|||||||
LineStyle = lsSolid
|
LineStyle = lsSolid
|
||||||
PopupMenu = popupDataGrid
|
PopupMenu = popupDataGrid
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
|
TreeOptions.AutoOptions = [toAutoDropExpand, toAutoScroll, toAutoScrollOnExpand, toAutoTristateTracking, toAutoDeleteMovedNodes]
|
||||||
TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toGridExtensions, toInitOnSave, toToggleOnDblClick, toWheelPanning, toEditOnClick]
|
TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toGridExtensions, toInitOnSave, toToggleOnDblClick, toWheelPanning, toEditOnClick]
|
||||||
TreeOptions.PaintOptions = [toHideFocusRect, toShowButtons, toShowDropmark, toShowHorzGridLines, toShowVertGridLines, toThemeAware, toUseBlendedImages, toAlwaysHideSelection]
|
TreeOptions.PaintOptions = [toHideFocusRect, toShowButtons, toShowDropmark, toShowHorzGridLines, toShowVertGridLines, toThemeAware, toUseBlendedImages, toAlwaysHideSelection]
|
||||||
TreeOptions.SelectionOptions = [toExtendedFocus, toFullRowSelect, toMultiSelect, toRightClickSelect]
|
TreeOptions.SelectionOptions = [toExtendedFocus, toFullRowSelect, toMultiSelect, toRightClickSelect]
|
||||||
@ -1381,6 +1383,7 @@ object MainForm: TMainForm
|
|||||||
Width = 575
|
Width = 575
|
||||||
Height = 206
|
Height = 206
|
||||||
Align = alClient
|
Align = alClient
|
||||||
|
AutoScrollDelay = 50
|
||||||
EditDelay = 0
|
EditDelay = 0
|
||||||
Header.AutoSizeIndex = -1
|
Header.AutoSizeIndex = -1
|
||||||
Header.DefaultHeight = 17
|
Header.DefaultHeight = 17
|
||||||
@ -1392,6 +1395,7 @@ object MainForm: TMainForm
|
|||||||
LineStyle = lsSolid
|
LineStyle = lsSolid
|
||||||
PopupMenu = popupResultGrid
|
PopupMenu = popupResultGrid
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
|
TreeOptions.AutoOptions = [toAutoDropExpand, toAutoScroll, toAutoScrollOnExpand, toAutoTristateTracking, toAutoDeleteMovedNodes]
|
||||||
TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toGridExtensions, toInitOnSave, toToggleOnDblClick, toWheelPanning, toEditOnClick]
|
TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toGridExtensions, toInitOnSave, toToggleOnDblClick, toWheelPanning, toEditOnClick]
|
||||||
TreeOptions.PaintOptions = [toShowButtons, toShowDropmark, toShowHorzGridLines, toShowVertGridLines, toThemeAware, toUseBlendedImages, toAlwaysHideSelection]
|
TreeOptions.PaintOptions = [toShowButtons, toShowDropmark, toShowHorzGridLines, toShowVertGridLines, toThemeAware, toUseBlendedImages, toAlwaysHideSelection]
|
||||||
TreeOptions.SelectionOptions = [toExtendedFocus, toMultiSelect, toRightClickSelect]
|
TreeOptions.SelectionOptions = [toExtendedFocus, toMultiSelect, toRightClickSelect]
|
||||||
|
@ -8305,6 +8305,7 @@ begin
|
|||||||
QueryTab.Grid.Font.Assign(QueryGrid.Font);
|
QueryTab.Grid.Font.Assign(QueryGrid.Font);
|
||||||
QueryTab.Grid.Header.ParentFont := QueryGrid.Header.ParentFont;
|
QueryTab.Grid.Header.ParentFont := QueryGrid.Header.ParentFont;
|
||||||
QueryTab.Grid.WantTabs := QueryGrid.WantTabs;
|
QueryTab.Grid.WantTabs := QueryGrid.WantTabs;
|
||||||
|
QueryTab.Grid.AutoScrollDelay := QueryGrid.AutoScrollDelay;
|
||||||
QueryTab.Grid.OnBeforeCellPaint := QueryGrid.OnBeforeCellPaint;
|
QueryTab.Grid.OnBeforeCellPaint := QueryGrid.OnBeforeCellPaint;
|
||||||
QueryTab.Grid.OnFocusChanged := QueryGrid.OnFocusChanged;
|
QueryTab.Grid.OnFocusChanged := QueryGrid.OnFocusChanged;
|
||||||
QueryTab.Grid.OnGetText := QueryGrid.OnGetText;
|
QueryTab.Grid.OnGetText := QueryGrid.OnGetText;
|
||||||
|
Reference in New Issue
Block a user