14 Commits

Author SHA1 Message Date
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
baa8ceb024 Memo editor enhancement: Disable/enable the "Apply" button according to if the text was modified or not. 2008-08-27 14:32:41 +00:00
369450d14f Memo editor fix: Changing the scrollbars invoke the OnChange event. Avoid thinking the text was really modified in that case. 2008-08-27 14:20:58 +00:00
06a7242891 Fix crappy positioning of memo editor: MemoEditor.Parent was set to DataGrid which was the reason for why it couldn't exceed the borders of DataGrid. Now, Parent is left to default (mainform) and it's centered on the main form, which seems to also fix some cosmetic stuff on Vista. 2008-08-27 14:11:49 +00:00
55aad43115 The memoeditor has a window heading since 1700 which surely includes a "Close" system button. If this button was pressed, editing was neither cancelled nor applied. Fix that by implementing a confirmatin dialog in case the text was modified. 2008-08-26 09:52:58 +00:00
2ff02a7eb1 Don't hide the window caption of the memo editor, display the form as toolwindow. Looks better since the form is centered. 2008-08-26 06:14:48 +00:00
7e2897ebcf Fix bug #696 Problem with popup editor editing the last record.
Solution: Always center the memo editor within the grid.
2008-08-26 05:56:43 +00:00
3c30298e51 Hopefully fix #669 this time 2008-08-12 21:50:44 +00:00
fa17d1eb8d Add a toolbar with some useful buttons to the memo editor:
Wrap long lines, Load textfile, Cancel, Apply
Plus: a label showing the current and the allowed text length
2008-08-11 23:16:46 +00:00
ed99c16c70 Fix bug #669 Memo editor increases height each time called 2008-08-11 18:30:54 +00:00
81609c83cb Enable shortcuts in memo editor:
- Escape for cancel editing
- Ctrl + Enter for apply text and end editing
2008-08-09 19:47:13 +00:00
8c83507561 Code structure: Seperate editor link from memo editor form, into own unit grideditlinks.pas . All edit links can live here while the used forms will need their own unit + dfm. 2008-08-09 17:52:01 +00:00
7d168f5526 Now the memo editor has its own unit to live in the editor link should also live there. Moves relevant code from main and rename the object to TMemoEditorLink to be more clear. 2008-08-07 22:39:22 +00:00
6b17b239ba Give the memo editor its own unit + dfm file. Enables us to use the IDE for designing it. 2008-08-07 20:32:01 +00:00