26 Commits

Author SHA1 Message Date
e8e264fa2a Issue #1503: reduce flicker when DPI setting for current screen is modified, or window gets moved to another screen 2021-12-29 11:31:18 +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
bcfcbff5bc Issue #1503: Leave font size at default, as the system's font size is probably scaled up 2021-12-26 14:15:09 +01:00
142e26ec22 Issue #1503: move SaveListSetup and RestoreListSetup to extra_controls unit, and handle column widths DPI independently 2021-12-26 13:58:25 +01:00
a20efabaf8 Auto-expand session folder when user filter matches a child session. See https://www.heidisql.com/forum.php?t=38566 2021-12-01 18:59:36 +01:00
586eb52593 Issue #136: remove now unused TLineNormalizingMemo code 2021-03-16 18:47:22 +01:00
82488373b0 Fix non working inheritance of font for completion proposal in trigger editor 2020-12-28 17:33:38 +01:00
fc86cd4205 Add filter edit box on session manager, for filtering sessions using regular expressions. Closes #826 2019-12-15 22:12:15 +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
0fc09be9e9 Issue #144: TMemo and friends select their text when pressing Enter, when they were manipulated by SHAutoComplete, so fix that by leaving TCustomMemo as they are 2019-09-28 16:44:34 +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
d446db554a Issue #144: Move some code out of TExtForm.OnCreate into .DoShow, where it works for more instances of TEdit, e.g. the database and table filter. Also, let the object editors call this code, as they don't derive from TExtForm. 2019-09-25 20:14:52 +02:00
68994a4e4d Issue #144: make Ctrl+Backspace delete the last word of TEdit and TButtonedEdit in any TExtForm 2019-09-25 17:40:03 +02:00
d76aacb910 Move another old and probably no longer required workaround from MainForm to TExtForm.Create, which shall prevent flicker on Win10 2019-07-23 13:53:46 +02:00
63fdc3e08c Move workaround for broken split buttons after translation into TExtForm.Create, so we have it once and the caller does not need to care about it. See https://sourceforge.net/p/dxgettext/bugs/80/ 2019-07-23 13:36:56 +02:00
273be37469 Reapply image list fix for extra space besides top items in main menu, after form translation has taken place 2019-07-23 13:22:30 +02:00
fcdf323086 Let TExtForm translate all strings on a form, to reduce the code in any FormCreate event 2019-07-21 20:12:13 +02:00
88a9e53f0d Remove remainders of DPI related code, and move TExtForm.AddSizeGrip procedure to property .HasSizeGrip. Uses TSizeGripXP instead of TSizeGripThemed, as this looks quite the same. 2019-07-21 19:44:05 +02:00
c31cae2060 Giving up on high DPI readiness - remove tweaks which mostly don't work as expected, and even differently on various computers. Instead, let Windows blur fonts. 2019-07-18 20:53:53 +02:00
2ebbdc6ba3 Issue #718: Fonts may still be too large because the monitor on which a form is created has DPI > 100%. Calculate DpiScaleFactor based on that first monitor. See https://www.heidisql.com/forum.php?t=34230 2019-07-18 19:08:32 +02:00
6a75e8c404 Issue #718: Fonts may be too large because they get scaled before the window gets moved to the wanted screen. So, this moves the code for scaling fonts to FormShow, so we can scale fonts according to the screen's DPI setting. 2019-07-18 07:52:59 +02:00
92c8f62b85 High DPI:
* remove ParentFont flag from forms again (introduced in 9cdcd631454f6f9e999893ea89fcf502d994474c for #213). This just inherits from default Windows settings.
* instead, scale font size in InheritFont(), and move that to the new TExtForm class
* mark app with PerMonitorV2 support
2019-07-17 21:59:18 +02:00
d169d2d52f Issue #8: fix unstyled size grip on forms without statusbar, with the help of Volker Siebert's SizeGrip: http://flocke.vssd.de/prog/code/pascal/sizegrip/1.2b/ 2018-10-30 15:49:51 +01:00
ba63e1477e Show line breaks other than Windows style as normal line breaks in text editor. See http://www.heidisql.com/forum.php?t=18769 2015-06-21 14:05:21 +00:00
d7f74a4dc2 Include missing unit to silence compiler hint: "H2443 Inline function 'SmallPointToPoint' has not been expanded because unit 'System.Types' is not specified in USES list" 2013-11-02 07:07:17 +00:00
6e608f157e Replace out-dated code which does not compile in 64bit mode in helpers.SetWindowSizeGrip. Use a TForm descendant in the new unit "extra_controls". Code parts taken from http://www.delphigroups.info/2/4/326787.html 2013-11-01 14:54:13 +00:00