Commit Graph

11 Commits

Author SHA1 Message Date
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