25 Commits

Author SHA1 Message Date
6d7935ce63 Same as r2621 - remove relevant height constraints from object editors. Finally fixes issue #1348. 2009-09-09 20:23:45 +00:00
9642425441 Add "Copy" menu item to table editor's column list. 2009-09-05 09:33:38 +00:00
be2ec499f8 Refactor internal handling of columns in table editor. Replaces the multi TStringList workaround with a more readable, object oriented approach. One minor visible effect is lightning fast initializing on very huge tables with several 100 columns. Apart from that this change should not affect any visible stuff. 2009-09-03 22:18:29 +00:00
b1aaeaaaf4 Disable foreign key editor for table engines which don't support that. Display a red hint label so the user knows what to do to enable foreign keys. 2009-08-23 21:59:57 +00:00
8e57faf265 Start editing in columns list only on exact label click. Should avoid annoyance described in issue #1305 2009-08-19 05:57:29 +00:00
6517a04eff Implement creation and editing of foreign key constraints in a separate new tab on the table editor. Fixes issue #400. 2009-08-16 20:32:37 +00:00
2e7022a945 Bold font for primary key columns in table editor. Icons for all key columns, similar to earlier versions of ListColumns on mainform. Feels very useful for a quick look when the index editor is mostly not active. 2009-07-29 20:50:41 +00:00
4d9d5a1ff7 Enable multi row selection in table editor's column list. Relevant functions adjusted:
* Add to index
* Create index
* Remove Column(s) (=> makes the "Clear columns" button superfluous)
2009-07-26 19:45:02 +00:00
e0761cedd9 Extend context menu of columns list in table editor with auto index creation/addition. Fixes issue #1269. 2009-07-25 19:35:09 +00:00
30f84c93a6 Use mainform's status panel and progressbar to display messages instead of a separate label on the table editor. 2009-06-18 19:33:51 +00:00
8b37a0bbaa Fix issue #1213: table editor columns misaligned 2009-06-13 06:58:54 +00:00
c6743e087b Fix issue #1211: Table editor, length/set should be ignored or suppressed for datatypes which don't support that. Also, make relevant code for cell editing allowance and cell background painting more easy and less redundant. 2009-06-09 20:13:35 +00:00
3bc31db014 Split "SQL code" tab into two "ALTER code" and "CREATE code", and display both in ALTER mode for copy+paste purposes. Fixes issue #1195. 2009-06-07 19:09:40 +00:00
20faa923bd Revert accidental GUI changes from r2449 2009-06-07 05:39:19 +00:00
d5ff16f86e Table editor: Enable horizontal and vertical grid lines for readability 2009-06-07 05:35:23 +00:00
63ca742b6d Table editor: center align column captions with centered checkboxes 2009-06-07 05:31:09 +00:00
6576461b9e Try to fix issue #1188: weird values in collation pulldown inside the text editor. Could it be that TField.AsString is broken if this heals the problem. 2009-06-05 20:44:39 +00:00
bffc1df93b Minor: Revert accidentally changed GUI stuff in recent commit. 2009-06-05 17:27:48 +00:00
11c70f62ee Fix issue #1176: Can't change table engine after creation. Seems a TCombobox.OnChange is not fired if a OnSelect coexists. 2009-06-05 17:25:35 +00:00
f01893d08a Experimental: Reintroduce table tab, this time by placing the existing editors for tables, views and routines as TFrames onto that tab. Unfortunately a whole bunch of GUI changes involved here which makes the diff unreadable. Should solve issue #1149 . 2009-06-04 12:56:55 +00:00
601a6c79f6 Fix issue issue #1169 and friends: DEL key in cell editor interferes with "Remove column" action. Caused by VirtualTree, passing certain keydown's in editors to their parent tree. Work around that by using safe shortcuts which should not interfere with editor actions. 2009-05-25 20:37:28 +00:00
c2fc155a7b I think this change was meant in issue #1136 - makes the index tree editable by clicking the cells, just like the columns list. 2009-05-22 22:31:55 +00:00
b3750421b2 Implement rfe #602: Explicitely apply collation to all fields if table collation has changed. Generates a "CONVERT TO CHARSET" clause. 2009-05-20 21:10:02 +00:00
2acd0170e8 Fix one-click-editing in trees and grids, broken in recent VirtualTree update, r2416 2009-05-17 16:11:09 +00:00
7f32b33505 Issue #436: Implement a new table editor dialog. Nukes both create + alter table dialogs. 2009-05-12 22:24:09 +00:00