From f26f2f7b159eb184f20a82c3b6668d49d6ffeeaf Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Thu, 30 May 2019 07:58:37 +0200 Subject: [PATCH] Activate toEditOnDblClick in data and query grids so grids go into edit mode on double-click (which magically disabled toToggleOnDblClick at the same time). Closes #486. --- source/main.dfm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/main.dfm b/source/main.dfm index a4491f0a..1c8d59ac 100644 --- a/source/main.dfm +++ b/source/main.dfm @@ -1228,7 +1228,7 @@ object MainForm: TMainForm PopupMenu = popupDataGrid TabOrder = 2 TreeOptions.AutoOptions = [toAutoDropExpand, toAutoScroll, toAutoScrollOnExpand, toAutoTristateTracking, toAutoDeleteMovedNodes, toAutoChangeScale] - TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toGridExtensions, toInitOnSave, toToggleOnDblClick, toWheelPanning, toVariableNodeHeight, toEditOnClick] + TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toGridExtensions, toInitOnSave, toWheelPanning, toVariableNodeHeight, toEditOnClick, toEditOnDblClick] TreeOptions.PaintOptions = [toShowButtons, toShowDropmark, toShowHorzGridLines, toShowVertGridLines, toThemeAware, toUseBlendedImages, toAlwaysHideSelection] TreeOptions.SelectionOptions = [toExtendedFocus, toFullRowSelect, toMultiSelect, toRightClickSelect] WantTabs = True @@ -1437,7 +1437,7 @@ object MainForm: TMainForm PopupMenu = popupDataGrid TabOrder = 1 TreeOptions.AutoOptions = [toAutoDropExpand, toAutoScroll, toAutoScrollOnExpand, toAutoTristateTracking, toAutoDeleteMovedNodes, toAutoChangeScale] - TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toGridExtensions, toInitOnSave, toToggleOnDblClick, toWheelPanning, toVariableNodeHeight, toEditOnClick] + TreeOptions.MiscOptions = [toAcceptOLEDrop, toEditable, toFullRepaintOnResize, toGridExtensions, toInitOnSave, toWheelPanning, toVariableNodeHeight, toEditOnClick, toEditOnDblClick] TreeOptions.PaintOptions = [toShowButtons, toShowDropmark, toShowHorzGridLines, toShowVertGridLines, toThemeAware, toUseBlendedImages, toAlwaysHideSelection] TreeOptions.SelectionOptions = [toExtendedFocus, toMultiSelect, toRightClickSelect] Visible = False