177 Commits

Author SHA1 Message Date
ce7d7007fa Fix a couple of compiler warnings 2024-12-09 07:16:07 +01:00
e334a89911 Issue #2006: enhance foreign key combo editor in grid for long item text, so the items show a hint in mouse-over 2024-08-15 10:56:49 +02:00
538cd1efc1 Issue #1936: simplify code in TfrmTextEditor.FormClose 2024-04-29 16:28:11 +02:00
45b9010e2b Issue #1936: simplify code, use the reference to TfrmTextEditor only locally in the ButtonClick event 2024-04-29 16:13:35 +02:00
358bee628c Issue #1936: Attempt to fix EAbstractError when closing text editor 2024-04-29 16:04:34 +02:00
59c2122113 Scale controls on TSetEditorLink DPI aware. See pm from HW 2024-03-25 14:14:56 +01:00
99fdbe8b4b Issue #1863: prevent remaining 4 SendMessage calls in Wine 2023-10-22 10:16:43 +02:00
7d9f59381f Support serial columns in Posgres, which is different from auto_increment on MySQL. Affects grid editing and table designer. Closes #279 2023-05-13 10:03:07 +02:00
7e0e893bc2 Degrade category of mostly log messages from grid editors to debug. 2023-01-09 20:08:05 +01:00
0d9de512cd Remove unit scopes from project settings, prefer fully qualified unit names in uses clauses. Enhance readability and compiler performance. 2022-12-26 17:59:19 +01:00
29a4ee8999 Don't reset a main control's window procedure if there is no main control. Closes #1349 2022-06-26 09:27:07 +02:00
965e88b579 Delphi 11.1: fix VirtualTree package files, fix missing uses clauses, and some newly required type casts 2022-06-18 18:08:00 +02:00
819699a79a Remove unused variable 2022-03-03 21:23:02 +01:00
18f6ce1f13 Minor performance enhancement with huge number of foreign key items in pulldown 2022-03-02 16:14:30 +01:00
61a08e0947 Issue #202: replace NUL characters in cell text with a space, and activate read-only mode in such cases 2022-02-26 17:38:20 +01:00
b49cd51ff9 Issue #1503: scale hardcoded control dimensions in column default editor 2022-02-04 06:58:36 +01:00
149d16dceb Issue #1503: outsource Round() with ScaleFactor into new TExtForm.ScaleSize(), and log scaling factor in log panel 2021-12-29 10:39:22 +01:00
aab0f244e2 Issue #1503: scale hardcoded width/height pixel values for buttons on session manager and inline text editor 2021-12-29 09:59:06 +01:00
a228359c90 Fix crash due to long text (>1KB) in grid cell editor. Show popup text editor from 1KB up (not 100KB). 2021-11-23 12:43:08 +01:00
9baeb9f018 Outsource large list of MySQL functions into separate .ini files, one per server type. Todo: definitions for SQLite and Interbase. 2021-10-11 21:32:55 +02:00
a469d89227 Issue #1169: give items in TDBDatatypeIndex a different prefix (dt => dbdt), to fix a conflict with those from Delphi's database components 2021-06-26 17:44:50 +02:00
24ff1c1fc6 Issue #136: fix OS crash with large cell text when reading FEdit.SelStart/Length 2021-03-31 16:02:14 +02:00
3647316425 Issue #136: Create TSynMemo on text editor at design time, not at runtime. Not sure why I moved that in 2015.
* support find/replace using our self baken dialog
* fix non-working shortcuts for find/replace actions
2021-03-16 18:24:43 +01:00
9dcd446a47 Issue #136: Replace the standard memo on the grid cell text editor with a TSynMemo. And provide all supported highlighters in a drop-down, remembering the previously selected highlighter. 2021-03-14 20:46:30 +01:00
1585e0dfa3 Allow free typing in collation drop-down for collations in a column. Set to empty string if user typed a non existent item. See https://www.heidisql.com/forum.php?t=37117 2020-10-29 21:12:25 +01:00
8a419a3c04 Attempt to fix issue #695 by removing the redraw message from the base grid editor constructor 2020-09-28 16:56:23 +02:00
983efa2b3b Issue #937 and #1107:
* be sure ActiveGridEditor is nil before and after editing, and check for that nil value
* in TBaseGridEditorLink.Destroy constructor, call its parent at the end, not at the beginning, so some members stay accessible until the end
* prefer to check with Tree.CanEdit
* change the way how editing starts in a tabbed cell
2020-08-05 08:42:37 +02:00
bcce290a57 Issue #937: * disable the call to Tree.SetFocus in TBaseVirtualTree.DoEndEdit, which ends the grid editor when tabbed into a new cell. See de863b4417
* reveal exception messages happening in the main control's WindowProc to the SQL log panel
2020-07-17 07:47:52 +02:00
8b548862de Prefer String.IsEmpty over self-baken IsEmpty(String) 2020-07-04 08:12:17 +02:00
08597e18a8 Issue #935: cancel editing in grids other than query result grids, when main page control tab changes. Fixes crash when changing tab while editing a column via table editor. 2020-03-26 11:33:06 +01:00
56e541a478 Introduce read-only mode for grid editors. Closes #631 2020-02-06 12:29:35 +01:00
6c77fc7bc3 Remove the SHAutoComplete() call to revert the solution for #144 - this introduces too many new bugs. 2019-10-08 19:26:51 +02:00
0daecec22f Revert 355db1403aff5c7d061962f3ca21c62bcd8001f8 for #144, which makes the Tab key ineffective. Closes #765 2019-10-07 20:27:21 +02:00
355db1403a Issue #144: Let grid editors call TExtForm.FixControls on their MainControl, to support Ctrl+Backspace there. 2019-09-25 20:39:54 +02:00
1d6a415f5f Refactor: rename mysql_structures unit neutrally to dbstructures 2019-06-22 14:26:41 +02:00
d039aad9be Issue #74: turn expression + on update edit boxes into drop down boxes, with known MySQL functions in them 2019-04-29 14:30:15 +02:00
9fc7150a9f Issue #74: attempt to support all kinds of expressions in column DEFAULT + ON UPDATE clauses 2019-04-21 15:40:18 +02:00
fe3660b274 Fix crash in checklist cell editor, eg used for column selection in foreign key list. Closes #473. 2019-01-13 13:54:28 +01:00
cdb10d8005 Required code updates for recent VirtualTreeview update 2018-12-11 21:50:26 +01:00
f5cc9efc4f Display column name in title bar of popup blob editor. Related to #395. 2018-12-05 21:22:09 +01:00
6d4d4e0d97 Display column name in title bar of popup text editor. Closes #395. 2018-11-28 20:58:51 +01:00
a119aa0cbc Make memo box for data type help text slightly higher, so the contained text does not lead the last line to be hidden. Closes #398. 2018-11-19 20:10:35 +01:00
b6d10d0462 Issue #8: fix crash when leaving any grid editor per OK/Cancel button, e.g. the column default editor 2018-11-13 18:59:29 +01:00
4c75d24b4c Issue #8: give the info text memo a 1px border, so its background color does not mix with the underlying panels or whatever is behind it. 2018-11-09 18:02:12 +01:00
3759611c34 Issue #8: convert system colors applied by code into their theme color 2018-10-27 17:47:16 +02:00
e2ff578834 Try to fix access violation in table designer, after click on "Add column" button. See https://www.heidisql.com/forum.php?t=25418#p25767 2018-09-30 18:43:19 +02:00
4bde1c213e Show 16 instead of only 8 items in drop down menus of grids. Closes #90 2018-02-18 12:05:24 +01:00
5a8a4af29a Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102. 2018-01-22 19:48:17 +01:00
9228488032 Finally fix the weird EAccessViolation in TCustomComboBox.KeyDown. Fixes issue #3461. See also various forum threads, and the latest one of them: http://www.heidisql.com/forum.php?t=18325 2015-05-05 18:32:03 +00:00
5a5eaabeef * Fix microseconds in MSSQL date/time data types, hidden in data and query grids.
* Add support for microsecond precision of MSSQL date/time types in table editor, show these in "Length/Set" column
* See http://www.heidisql.com/forum.php?t=17728
2015-03-01 18:21:59 +00:00