Commit Graph

29 Commits

Author SHA1 Message Date
Ansgar Becker
3c49bf516c Fix rfe #850 : Column Add/Edit Dialog - Default Setting "Custom string ..." misleading for Numeric fields 2008-11-04 06:58:05 +00:00
rosenfield.albert
c3d7ff9f5b Update nomenclature. 2008-10-10 01:04:16 +00:00
Ansgar Becker
bee0edfabe Fix bug #332 "index manager: column names unreadable" by making the form resizable, including fixes for the side by side listboxes. 2008-10-09 22:50:45 +00:00
Ansgar Becker
da87f658fb Fix bug #784 Cant add field without default value 2008-10-08 20:29:59 +00:00
Ansgar Becker
1a71133625 Fix bug #758 Incorrect tab order in the "Update Field" dialog box 2008-09-25 21:26:25 +00:00
Ansgar Becker
b9724a5aaf Fulfill rfe #750: Field editor - allow non quoted literals for default value 2008-09-17 20:25:00 +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
dedc3d92b1 Fix fieldeditor and neighbours for Unicode table- and columnnames 2008-08-19 22:48:05 +00:00
Ansgar Becker
aabd4bbf57 Add some more support for databases and tables with unicode characters. 2008-08-08 19:32:24 +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
rosenfield.albert
f64626f152 Bugfix: fix regression; up-key and mousewheel-up were broken in r1512 for the data type dropdown. 2008-06-24 09:22:53 +00:00
Ansgar Becker
94dd599f5f Fix annoying alphabetical sorting in list of available fields in the index editor. For columns it's very normal to have them in the same order as they're defined in the table structure. 2008-06-23 23:17:57 +00:00
rosenfield.albert
eb94d80223 * Add definition of column type 'groups' to mysql_structures.
* Enhance the TComboBox used in fieldeditor to support option groups via owner drawing.
 * Add some ridiculously dumb functions to translate between the dropdown's index and (non-group) item index.
 * Accomplishes rfe #577.
2008-06-23 15:39:36 +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
c51ea356a1 Fix bug #1841478 "Access violation when add indexes" by keeping the instance of TFieldEditForm in memory after using it instead of recreating it each time the window is shown. The AV seems to be caused by FreeAndNil(f) but that's not reproducable when you start the exe within Delphi. However, the AV is gone now.
Related changes:
+ Use modal result values on buttons instead of explicitely setting them via code
+ Move some safe code out of a try .. except because only THandledSQLError's are catched.
2008-01-17 23:26:19 +00:00
Ansgar Becker
9b90e38572 Fix bug #1685799 "interface allows selecting zerofill without unsigned" 2007-10-28 12:01:34 +00:00
Ansgar Becker
0c611991e2 Fieldeditor GUI:
- Adjust position of controls
- Add shortcuts / focuscontrols
Seems like 8px is a good choice for margins to form edges.
2007-10-10 21:59:39 +00:00
Ansgar Becker
d26e85c34f Followup to broken rev 965: Add missing event assignments to listClick in fieldeditor form. 2007-10-02 18:15:33 +00:00
Ansgar Becker
c13318714e Upgrade old forms to use Tahoma font. Adjust widths of various TLabel's to make their captions fit with the new font. 2007-09-26 19:36:19 +00:00
Ansgar Becker
970d267a23 Implement feature wish #1779324 : Support for field COMMENT in ListColumns and field editor. 2007-09-06 14:39:11 +00:00
Ansgar Becker
618d34ec3d Convert ComboboxKeys on the index-editor from a standard TCombobox to a TComboboxEx. Avoids/removes hackish code for drawing icons on items.
Also create some imageindexes constants to const.inc where they will be useful for other units.
2007-08-02 22:26:02 +00:00
Ansgar Becker
6a4a5cc1ad Followup to rev 770: Fix declaration of TButton and TabOrder property automatically added by IDE. 2007-07-28 06:50:48 +00:00
Ansgar Becker
1f33030188 Replace ugly bitmap button by a TButton 2007-07-28 06:36:12 +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