Ansgar Becker
3596975672
Only draw the focused grid cell using highlight fg/bg colors if multiple rows are selected.
2008-10-21 18:56:38 +00:00
Ansgar Becker
c2f6d66660
Automatic change after recent SynEdit update.
2008-10-21 00:29:26 +00:00
Ansgar Becker
90df5d3b29
Fix yet incompletely fixed bug #565 Post pending UPDATE when switching tables in data tab. Datagrid changes are now posted with the correct table name before any other table or db is selected.
2008-10-21 00:26:34 +00:00
Ansgar Becker
2afcc9104b
Fix bug #751 exporting a table: table is not marked in the export dialog
2008-10-20 23:38:31 +00:00
Ansgar Becker
1e2aa237b1
Ensure visibility of the just selected table in dbtree, for cases in which the table was autoselected via ListTables.DoubleClick or arrow_up/down within tree.
2008-10-20 23:05:13 +00:00
Ansgar Becker
67cb14d1ef
Find a better place for autosizing the second dbtree column. Fixes the column content from being cut at startup after loading the previously selected database. (Totally minor + cosmetic)
2008-10-20 22:57:32 +00:00
Ansgar Becker
7ed97b3fe2
Fix bug #814 Query Tab Splitter
2008-10-20 22:36:17 +00:00
Ansgar Becker
27783f402f
Fix bug #791 missing background color on selected rows. Switches to full row selecting if more than one node was selected.
2008-10-20 22:08:09 +00:00
Ansgar Becker
5fd380b130
Fix bug #813 primary key checkbox gets copied to other fields
2008-10-20 19:45:39 +00:00
Ansgar Becker
4e7a9723b3
Fix AV mentioned in issue #801 AV on "Set NULL" with no focused row in datagrid
2008-10-19 17:18:03 +00:00
Ansgar Becker
f44d56a051
Usability enhancement: Colorize any unfocused cell in a focused row with clInfoBk (mostly light yellow). Helps with identifying the focused row.
2008-10-19 13:06:36 +00:00
Ansgar Becker
8dc8c63c5b
Fix bug #801 Set NULL cause Access Violation Error
2008-10-19 12:49:19 +00:00
Ansgar Becker
89dd84b7e1
Fix unfocused grid on the second arrow_down, broken in r1871
2008-10-19 12:24:57 +00:00
Ansgar Becker
0e11fdd184
Fix bug #795 : AV when inserting two rows.
...
Could be more pretty as the second arrow_down unfocusses the grid somehow and no new row is appended. Anyway, cosmetic now.
2008-10-19 10:53:55 +00:00
Ansgar Becker
f4add11ea3
Work around VirtualTree's annoying behaviour when focussing a cell. The focused cell was horizontally centered previously, now the grid just scrolls as few as it needs to make the cell completely visible. Works for both Data and Query grid.
...
See also
* r1745
* r1758
* issue #700 (comment #5 )
* issue #724
2008-10-19 10:34:59 +00:00
Ansgar Becker
7cb869a5ae
Property changes by SynEdit update. Fixes an IDE error while loading options.dfm .
2008-10-18 17:07:59 +00:00
Ansgar Becker
07cb5549e9
Remove a remainder of pre Delphi 11 support
2008-10-18 16:56:21 +00:00
Ansgar Becker
e7874bc4b7
Update UniSynEdit to latest version from October 3, 2008 (no repository available unfortunately)
...
* Merge with heidi related changes (basically only SingleLineMode)
* Readd missing file changelog.htm to keep that file list consistent with the downloaded one
* Merge our own compiler detection again
* Disable including a further compiler includefile jedi.inc
2008-10-18 13:09:16 +00:00
Ansgar Becker
1306731b3c
Fix width of info label above datagrid after resizing the window. Was too small always.
2008-10-16 23:59:18 +00:00
Ansgar Becker
a591edebac
Fix bug #714 : Impossible to change limit^H^H^H^H^H^H sort order by implementing a fourth button with dropdown menu, enabling the user to save all query elements in one settings.
2008-10-16 23:49:17 +00:00
Ansgar Becker
7c6a70232a
Fix bug #799 default value '' of a field changed to '''' when field name changed
2008-10-13 22:05:59 +00:00
Ansgar Becker
060c4ea8ad
Fix bug #798 : unable to change the case of a fieldname in the create table dialog
2008-10-13 20:18:56 +00:00
Ansgar Becker
d70ec31ca4
Work around bug #794 : OK + Apply buttons enabled after just switching to a different tab
...
The bug seems caused by any TUpDown + TEdit which fire OnChange when they get visible for the first time. PageControl.OnChanging + .OnChange help here.
2008-10-12 09:56:02 +00:00
rosenfield.albert
e14ec336e5
* Bugfix: where clauses can contain Unicode characters.
...
* Bugfix: don't add cell data for a row which were not found by the server.
* Bugfix: pop up a dialog if an INSERT or UPDATE unexpectedly failed.
Fixes issue #456 .
2008-10-10 01:23:49 +00:00
rosenfield.albert
c3d7ff9f5b
Update nomenclature.
2008-10-10 01:04:16 +00:00
Ansgar Becker
35be9c3621
Fix bug #783 AV after while inserting record
2008-10-10 00:41:03 +00:00
rosenfield.albert
1e410726ef
Bugfix (regression): the value '-' was handled incorrectly when scanning for values looking like floating point stuff.
2008-10-09 23:30:23 +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
4c96e40cca
Fix redundant "SHOW KEYS FROM xyz" when calling the field editor. Was duplicated since r1843. Now the field editor benefits in two places from Childwin.FSelectedTableKeys
2008-10-08 20:36:46 +00:00
Ansgar Becker
da87f658fb
Fix bug #784 Cant add field without default value
2008-10-08 20:29:59 +00:00
Ansgar Becker
55b449a359
Fix bug #779 imposible to add autoincrement column. Removes an older workaround for the same issue which just disabled the autoinc checkbox for new fields. Now, it is possible to set the autoinc attribute for both edit and add mode, including a confirmation dialog which asks for allowance to remove any existing primary key.
2008-10-08 20:17:27 +00:00
Ansgar Becker
4cf1864921
Enable customizing SQL colors for identifiers, delimited identifiers, conditional comments and symbols.
2008-10-08 19:12:20 +00:00
rosenfield.albert
c8991495a7
Workaround: reclaim used memory when TVirtualTree crashes in allocation of child nodes. The correct fix would be to postpone creation of child nodes until they are actually needed (dynamic allocation), but I'm not in a mood to learn how TVirtualTree internals work and Mike didn't seem too eager to produce a fix, so this is it for now. Fixes issue #761 .
2008-10-08 17:56:24 +00:00
rosenfield.albert
1992dd9edb
Performance fix: explicitly checking for an empty string is much faster than catching an exception.
2008-10-08 17:40:50 +00:00
rosenfield.albert
9b4588912c
Uniform project settings for a brighter tomorrow.
2008-10-08 17:33:39 +00:00
Ansgar Becker
5b4f5f1b5c
Preferences dialog, SQL tab, enhancing color coding and font selection:
...
* Remove sub tabs
* Replace the color panels by a combobox showing which item is to be changed and a color combo box.
* Add a SynMemo, displaying color and font changes immediately using some sample SQL text.
2008-10-07 22:33:48 +00:00
Ansgar Becker
026df1d4c9
Cosmetic face-lift on preferences dialog:
...
* Normalize component names
* Apply and use modal results to OK and Cancel buttons
* Fix apply button to be enabled after changing NULL color
* Fix all tab orders
* Fix cut labels on Vista
* Also disable btnOK after applying changes
* Find better/shorter captions for main tabs
* Remove form borders and apply 8px edge margins instead
2008-10-06 21:25:33 +00:00
Ansgar Becker
3f8545d805
Implement rfe #763 : Average columns for certain status variables
2008-10-05 14:35:20 +00:00
Ansgar Becker
6f5e66bb96
Fix bug #780 (selected column in datagrid unclear) by highlighting the focused cell only instead of the full row. Probably needs some other row indicator now for cases in which the focused cell was scrolled out of sight.
2008-10-05 09:39:30 +00:00
Ansgar Becker
9e235926b2
Bugfix: Read 5M instead of 50 bytes per loop while an SQL file loads and gets executed. 50 bytes per round take way too many loops, time and CPU.
2008-10-03 10:10:24 +00:00
Ansgar Becker
85a00cca2d
Fix bug #778 you will be asked twice if you want to apply the modifications in the editor window after ESC pressed. The editor dialogs are modal now which fixes a certain part of this issue and makes the code paths less complex.
2008-10-03 09:08:26 +00:00
Ansgar Becker
798356e065
Fix bug #774 : Problems after not saving or cancelling a textfield (or binary field). Solution: Detect any focus steeling and automatically invoke the cancel action.
2008-10-01 20:24:55 +00:00
Ansgar Becker
b2f2fd20b8
Follow up to r1830: Use FillAvailColumns in all places where that's applicable.
2008-10-01 05:51:04 +00:00
Ansgar Becker
7007094204
Fix bug #771 : Index editor - available columns in bad order after dropping one or more of the used columns
2008-09-30 18:27:06 +00:00
Ansgar Becker
d61070ef23
Fix bug #773 : Renamed column + column selection breaks grid editing
2008-09-30 17:18:20 +00:00
Ansgar Becker
31ab8481aa
Fix bug #772 : cannot change value after set NULL
2008-09-30 16:56:12 +00:00
Ansgar Becker
af6948f706
Fix annoyances in the filter memo:
...
* Do not steel focus if a filter is actice and F5 was pressed to refresh the grid
* Do not update memoFilter if a filter was not changed. Avoids the cursor to be moved to the left top.
* Add undo break before each automatic change, so these changes can be undone via Ctrl+Z
2008-09-30 16:52:54 +00:00
rosenfield.albert
8abfbe5d47
Remove the margin indicator in the SQL log.
2008-09-29 16:34:56 +00:00
Ansgar Becker
9f4a88e521
Fix bug #770 Data table don't is updated on edit, only on refresh
2008-09-28 23:16:41 +00:00
Ansgar Becker
bd3143baa3
Fix bug #769 : Query columns don't clear on update
2008-09-28 22:41:08 +00:00