Ansgar Becker
ac9028c627
Set minimum dimensions in SQL help dialog, to prevent the user from resizing the panels up to an unusable state. Closes #1805
2023-05-10 06:47:00 +02:00
Ansgar Becker
9c5d8358e0
Automagic modifications to form files, done through updates of IDE and some components. Especially removes no longer published properties OldCreateOrder and PixelsPerInch.
2022-12-11 14:54:48 +01:00
Ansgar Becker
b3365319b0
Issue #1503 : Set the new (slightly higher) default font size for 100% DPI setting on all other forms as well
2021-12-27 07:44:51 +01:00
Ansgar Becker
cb1024b048
Fix more potential theme related EAccessViolation's, due to Action:=caFree in OnClose event of modal forms. Their caller now frees these modal forms. In non-modal forms, keep caFree in OnClose but remove existing OnDestroy events, moving code to OnClose instead.
...
https://www.heidisql.com/forum.php?t=38043
https://stackoverflow.com/questions/2075405/how-to-close-non-modal-form-in-delphi
2021-06-22 20:37:34 +02:00
Ansgar Becker
3182107aff
Automatic form additions, done by the new IDE: "ImageName". Related to #1052
2020-06-07 20:11:24 +02:00
Ansgar Becker
3e40486d01
Set link color to clHighlight, which better fits to both dark and light themes. Closes #755
2020-01-28 19:08:57 +01:00
Ansgar Becker
92c8f62b85
High DPI:
...
* remove ParentFont flag from forms again (introduced in 9cdcd63145 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
Ansgar Becker
2c254a0fe8
Issue #448 : Use better fitting icons for some buttons: "clear edit box", "close query tab", "close filter panel"
2019-01-27 18:35:40 +01:00
Ansgar Becker
aa0540921c
Issue #448 : Apply 192 new icons mainly from Icons8 gallery, with an OpenSource permission (talked to Eugenie from Icons8)
2019-01-26 19:15:25 +01:00
Ansgar Becker
cdb10d8005
Required code updates for recent VirtualTreeview update
2018-12-11 21:50:26 +01:00
Ansgar Becker
9cdcd63145
Issue #213 : Assign system or custom font once, to the application, and let all forms inherit that font, so there is no need to call InheritFont() for each form.
2018-10-25 19:24:45 +02:00
Ansgar Becker
0e73a8cb92
Issue #213 : activate ParentFont on remaining TLabel's, so their font scales like all others
2018-10-24 20:01:29 +02:00
Ansgar Becker
b1546db09d
Set focus on filter box when SQL help dialog opens. See http://www.heidisql.com/forum.php?t=17294
2015-01-01 17:41:32 +00:00
Ansgar Becker
b93106a6fe
Update VirtualTree component to r320
2011-11-01 09:32:34 +00:00
Ansgar Becker
e96fa77cbd
Do not cache dialog instances any longer. OnCreate code is mostly very quick, and caching them adds quite some pitfalls into the code. Not to mention 30 lines less code in main.pas now :)
2011-06-26 20:01:42 +00:00
Ansgar Becker
25fb0ed266
Refactor code in SQL help dialog, replace the TTreeView with a VirtualTree.
2010-07-31 17:16:08 +00:00
Ansgar Becker
601edef305
Realign most controls on SQL help dialog, sanitize them from weird paddings and margins. Remove statusbar which was just there to display the size grip in the lower right corner.
2010-02-24 22:53:45 +00:00
Ansgar Becker
19fa02b4c6
Add filter input above SQL help tree. Fixes issue #1718 . New code mostly from SuperNiFF.
2010-02-24 22:22:22 +00:00
Ansgar Becker
e045cb3d76
Delphi 2010 has PNG + alpha channel support in TImageList, so we don't need PNGcomponents any longer.
2010-02-08 00:36:17 +00:00
Ansgar Becker
7c5dec6968
No need to press Ctrl to make an URI in a help text clickable.
2008-12-26 13:56:40 +00:00
Ansgar Becker
2d123ad52a
Replace TMemos by TSynMemos in SQL help window and add URI openers. Enables linked URIs in text.
2008-11-25 20:11:50 +00:00
Ansgar Becker
9a52593dc2
Use Vista's Segeo font for all forms by using the SetVistaFonts() in mainform plus the new routine InheritFont() which simply overtakes fontname and size from the mainform to all other forms.
2008-08-29 18:20:14 +00:00
Ansgar Becker
ffc58c022b
Revert broken r1561. Worse than before - more AVs, even when pressing a speedbutton which has loaded its icon correctly. Weird.
2008-07-02 22:33:05 +00:00
Ansgar Becker
94822c33fa
Fix one critical AV, part of bug #580 . Loading a PNGImage from a TPNGImagelist onto a TSpeedbuttons seems buggy. Instead, assign icons at designtime. Ugly fix as we now have redundant icons, anyway, we should look after not using TPNGSpeedbutton in too many places.
2008-07-02 22:21:04 +00:00
Ansgar Becker
1cc757ba73
Delphi insists on moving these TPngSpeedButtons somewhere else in the DFM files. Properties are all kept, only the positions in the files have changed.
...
I have a slight feeling that this change fixes at least one access violation in the last nightly builds which I cannot reproduce when I compile these changed files.
2008-03-10 20:24:14 +00:00
Ansgar Becker
9306da23b9
Remove Font properties of controls which have the same font assigned as the parent component but have ParentFont set to False. The effect of this change should be not visible in any form, only in the code of the DFM files.
...
Related revision: 956.
2008-03-09 21:00:35 +00:00
Ansgar Becker
e53db0a9b7
PngIcons:
...
- Ban glyph data of all TSpeedButton's + TBitBtn's out of dfm files by converting them to TPngSpeedButtons and assign an image from PngImageListMain at runtime.
- Add "highlight" versions of "database" and "table" icons and use these on selected DBtree nodes.
- Remove no longer used BMP icons
Todo: Fill PngImageListMain at runtime.
Note 1: TBitBtn's are not Windows-theme-aware, even with a manifest in place, so we should avoid using them anywhere.
Note 2: T(Png)SpeedButton lacks a TabOrder property, so some of the other TabOrder's are automatically changed here.
2008-03-09 19:56:52 +00:00
Ansgar Becker
bd597d0c1d
Use a PNGImageList and find replacements for nearly all icons in the application.
...
Sources:
- Mark James' Silk icons
- Everaldo's Crystal icons
Todo: Load icons at runtime
2008-03-04 00:20:38 +00:00
Ansgar Becker
79c95bd9fd
Move creation of SQLhelp from application startup to a place where it's done on demand.
...
Move public property keyword to the private context as it is no longer accessed from outside.
2007-07-03 20:22:49 +00:00
Ansgar Becker
36d9603f3c
Remove all remaining ExplicitXYZ properties.
...
Wrote a small console app which removes these properties automatically in a given directory. Feel free to download it at http://www.heidisql.com/files/explicit_sucks.exe and use it before committing *.dfm files.
2007-06-28 21:55:57 +00:00
Ansgar Becker
3c8f123a81
Move *.pas, *.dfm and *.inc files from root directory to a new "source" subdirectory. Leaving just the readme in the root to give all newbies a very clear and unique starting point.
2007-06-28 20:00:04 +00:00