358100d6b3
Fix issue #990 : SQL error if switching from table to data view, if column to sort by has been deleted. Plus: fix relevant naming convention for property + field.
2009-06-06 19:42:20 +00:00
bc33729fdd
Issue #436 : Remove table tab from main tabs, and old field editor. Both were replaced by the new table editor. Doubleclicking a table opens the data tab now.
2009-05-17 16:02:28 +00:00
909d31fd64
Simplify writing settings to registry:
...
* Keep only one TRegistry object in memory instead of creating a new one in each routine.
* Move out relevant functions and TRegistry object from main to helpers to make them usable globally.
2009-01-03 17:16:11 +00:00
f1b3f5501f
Remove last traces of MDI (issue #513 ). Merges code, controls and events from childwin into main.
2009-01-01 23:24:36 +00:00
25e0b395b7
Fix mixed up order of checked states in column selection pulldown after clicking "Sort alphabetically".
2008-12-02 18:17:13 +00:00
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
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
aabd4bbf57
Add some more support for databases and tables with unicode characters.
2008-08-08 19:32:24 +00:00
d4e9386682
Work around bug #580 by converting the two TSpeedbuttons above the datagrid to toolbar buttons. This should stop the AV annoyance for these buttons. Not sure if we have the same issue still on other TPNGSpeedButtons as it's long ago I saw one.
2008-07-07 23:22:36 +00:00
efa71f50bb
Implement automatic closing of data sorting + column selection dialogs when clicking elsewhere by catching the FormDeactivate event. (rfe #562 and rfe #579 )
2008-06-23 19:49:11 +00:00
747be5b4ef
Code simplification: Replace remaining shabby RegObj.ReadXY() routines with Main.GetRegValue .
2008-03-23 23:20:19 +00:00
4e23728aa2
- Move all hardcoded preferences names (registry) plus their default values to const.inc to fix inconsistencies like the one described here: http://www.heidisql.com/forum/viewtopic.php?p=1739
...
- Consequently use Mainform.GetRegValue() to read these values, an overloaded method with either Boolean, String or Integer result. These methods keep a global TRegistry object (regMain) open while the application runs, rather than creating a new one for each caller.
- Remove Mainform.SaveRegValue() which was used in one or two callers. Rather use a TRegistry object and do that by hand. There's no significant advantage in using a SaveRegValue method currently.
2008-02-06 00:00:52 +00:00
e7bcbdf293
* Bugfix: plug the most obvious memory leaks.
...
* Clear some unused code and wrong comments.
2007-11-09 09:51:31 +00:00
9409c798ab
Remove ActualDatabase and ActualTable variables, plus various minor optimizations that ensued from said change. Fixes a problem where when:
...
- viewing data in a table
- switching to query tab
- pressing master refresh
some of the tabs would disappear.
2007-09-11 15:58:47 +00:00
4f2246d598
Fix a minor compiler warning, introduced in previous revision.
2007-08-27 00:04:24 +00:00
3f0b70c409
Switch ListColumns from TSortListView to TVirtualStringTree
...
Additionally/Sideeffects:
- Fix vstFreeNode to delete the item from the array, not only free the item itself
- Change/Rename GetSelectedNodesFromVT to GetVTCaptions and give it the ability to return all captions, not only the selected. This function is very useful now and saves writing much redundant code.
A table with 500 columns needed 3 seconds to display in the TSortListView, now that takes less than a half second.
2007-08-27 00:01:53 +00:00
c436f8b905
New feature: Checkbox for sorting fieldlist alphabetically in column selection dialog. State of the checkbox is memorized in registry.
2007-08-17 23:10:11 +00:00
d96cf89849
Remove unused form-variable.
2007-08-02 21:29:14 +00:00
064ed3b4da
Decide to refresh data if the OK button in any of the two dialogs (column_selection, data_sorting) was pressed. Don't call viewdata in the dialogs, but in ChildWin itself. Saves some superflous procedures / code.
2007-07-12 22:44:05 +00:00
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