summaryrefslogtreecommitdiff
path: root/src/gui/gui_grid.pas
AgeCommit message (Collapse)Author
2008-06-18* Finally fixed a Index out of bounds error in StringGrid. Thanks to David ↵graemeg
Emerson for finding the problem.
2008-06-12* Minor fixes to csUpdating ComponentState in Grids.graemeg
* fpgApplication now closes all forms created via fpgApplication.CreateForm() before the main form when the application terminates. * Minor documentation update for fpgfx.pas unit.
2008-05-19* Merged my private graemeg branch changes (r752:r781) into trunk. These ↵graemeg
changes are required to change all componens from 1-based indexing to 0-based indexing.
2008-04-02* Applied patch from Vladimir removing all IFDEFs from gui_grid.graemeg
* Fixed compiler error under Linux. * Fixed painting of shortcut / symlink symbol overlay.
2008-04-01* BaseGrid.DrawCell and BaseGrid.CanDrawCell now have a GridDrawState type ↵graemeg
property which the developers can use in there custom event handlers. In unfortunately requires the gui_basegrid to be included in the uses clause.
2008-03-31* Added a patch from Antonio add a basic Integer and Float edit component.graemeg
* I created a simple EditTest example showing the new components in action.
2008-03-28* Many big changes which removes bucket loads of compiler warnins. These ↵graemeg
will probably break code, but they are easy to fix in your own code. * All Grid Columns and Rows are now Longword types and not Integer. We mixed them all over the place, even though the grids do not support negative rows or columns. * Fixed up the UI Designer because of previous change. Same goes for examples. * Made some changes to get fpGUI compilable under FPC 2.3.1 (latest trunk), but yet no fpGUI application runs yet. No idea why yet.
2008-03-21* Applied grid patch from Jean-Marcgraemeg
* Fixed some bugs in Jean-Marc's patch. Grid.TextColor and Grid.BackgroundColor had no affect. * Extended the GridTest example showing the new features and OnCellDraw example.
2008-03-18* Applied a patch from Vladimir which imploves the file system encoding and ↵graemeg
seems to fix the error received in the File dialog. * I implemented three new functions to retrieve the DPI value of the screen.
2008-03-17* TfpgStringGrid now has a OnDrawCell event. If the user sets ↵graemeg
ADefaultDrawing = True, fpGUI will do standard painting. If user sets ADefaultDrawing = False, it is up to the user to do painting for that cell.
2008-03-14* Applied on the TopRow property changes from Jean-Marc's patch [ 1909562 ].graemeg
2008-03-14* Implemented a new OnCanSelectCell event for Grids. Works via keyboard or ↵graemeg
mouse input. * Removed the duplicate implementation or BackgroundColor in Grids.
2008-03-12* Applied a patch from Vladimir moving some code out of gui_grid.pas to ↵graemeg
gfxbase.pas and getting rid of some IFDEF's in the process.
2008-03-10* Applied partial patch from Jean-Marc adding a CreateStringGrid function to ↵graemeg
gui_grid unit.
2008-03-04* More more on the MiG Layout port.graemeg
* Added new resourcestring constants to the translation language files. * Localized all the GUI units.
2008-02-20* Applied Vladimir's patch for arrow key support in RadioButtons.graemeg
* TfpgWidget.TabOrder is now set at creation time. * Published the TabOrder property for all components that can receive keyboard input. * Extended the UI Designer so the TabOrder property can be edited.
2008-02-01* Fixed the IFDEF so that the libc unit is only included for Linux/x86 ↵graemeg
32-bit systems. FreeBSD and Linux/x86 64-bit can't use libc.
2008-01-14* ShowMessage can now Centre of Left Align the text.graemeg
* Long text with paragraphs are now handled and painted correctly in the MessageBox and Message Dialog.
2008-01-14* I wrapped libc unit and calls with IFDEF's so it should compile under ↵graemeg
FreeBSD now.
2007-12-14* Implemented Cell Text Alignment.graemeg
* Fixed CalendarCombo so dates are centered in grid cells. * Fixed memory leak in AbstractCombobox. * Modified the GridTest example to show the column text alignment in action.
2007-11-08* Implemented a new mediator for use with tiOPF for the Calendar graemeg
component. * Removed the ColResize property from BaseGrid. It doesn't work as advertised. It needs to be implemented correctly. * Implemented MinDate, MaxDate properies for Calendar and did a lot more testing with a few more bugfixes. Still plenty outstanding.
2007-11-07* Added a OnKeyPress event to TfpgWidget. It can now be surfaced by anygraemeg
descendants. * Added keyboard handling to Calendar component. * Surfaced OnKeyPress event in TfpgEdit and TfpgStringGrid. * Updated the lazarus code template file.
2007-11-05* Implemented BeginUpdate and EndUpdate for BaseGrid.graemeg
* Modified StringGrid to rather use BeginUpdate/EndUpdate instead of calling RePaint directly. * Calendar component now also uses the BeginUpdate/EndUpdate calls to drasticly improve the grid painting speed.
2007-11-03* Started working on a Calendar component.graemeg
* Created a new example project to test the calendar component. Please note it is NOT complete yet. * Added a ScrollBarStyle property to BaseGrid to control the ScrollBar visibility.
2007-10-01* Implemented the Objects[ACol,ARow] property for the StringGrid.graemeg
* Implemented the StringGrid composite mediator for use with tiOPF.
2007-09-26* Added copyright information in the GUI units.graemeg
2007-09-19* GUI: All CustomGrid and StringGrid properties using a Column Index is nowgraemeg
1-based. So to access the first column the Index will be 1. * GUI Designer: Added a StringGrid Columns property editor. * GUI Designer: When saving files that are now also added to the MRU menu.
2007-09-07* GUI: Rename the Checkbox property FontName to FontDesc to be consistent withgraemeg
the rest of the fpGUI controls. * GUI: Introduced FontDesc and HeaderFontDesc properties in TfpgBaseGrid and published them in descendant components. * GUI Designer: All newly placed components now default to the Delphi coding standards component prefixes.
2007-08-26* Removed some compiler warnings.graemeg
* Added some basic scripts and instructions on how to compile fpGUI from the Command Line and Lazarus IDE.
2007-08-23* Grid cells in disabled state are not painting in 3D text effect.graemeg
* Minor changes to TfpgCustomGrid to make it more flexible for descendants * Rewrote the TfpgCustomStringGrid basing the design on TfpgCustomGrid * Extended the GridTest example to exercise both grids.
2007-08-22* Started the implementation of a StringGrid. It is graemeg
not complete yet.
2007-08-21* GDI: Fixed popup window support.graemeg
* Improved menu painting with a bit of optimization. * GDI: Implemented OnDoubleClick in TfpgWidget. * Implemented DoubleClick in FileDialog (tested under Windows only) * GDI: Fixed minor bug in DoWindowToScreen which prevented popup windows from working.
2007-08-17* Implemented a FileOpen and FileSave dialog. Both are the same class. It'sgraemeg
not 100% yet. See ToDo list in header of gui_dialogs unit. * Minor bug fix in ComboBox component and added missing (required) properties. * Fixed a bug in TfpgCustomGrid.Destroy. Creating a decendant of TfpgCustomGrid caused a crash in the destructor. * Fixed bug in ListBox where scrollbar did not move with mouse wheel input. * Added a new FileDialog example project.
2007-08-16* Added images, Owner, Group and file attribute support to TfpgFileGrid.graemeg
I still need to try and get rid of the IFDEF's. * New executable image added to standard images. * IsSymLink help function added to gfx_utils unit. * Extended the FileGrid example project a bit more.
2007-08-15* Changes to FileGrid under Windows. This is only to test if it works.graemeg
All the IFDEF's must still be removed.
2007-08-15* Minor tweaks to compile under Windows.graemeg
2007-08-15* Implemented some file handling functions.graemeg
* Implemented a FileGrid widget. Still work in progress and lots of refactoring and getting rid of IFDEFs.
2007-08-11* Renamed the unit gui_grid.pas to gui_basegrid.pasgraemeg
* Implemented and added a TfpgCustomGrid. * GridTest example has been updated to demo the TfpgCustomGrid.
2007-08-11* Grid changesgraemeg
- Implemented keyboard navigation. Cell focus. - Improved header painting and little square between scrollbars. - Improved scrollbar behavior and slider sizing. - Implemented mouse wheel support. Scrolling can also happen up/down or left/right based on the visibility of the vertical scrollbar. - Implemented cell selection via mouse - Implemented column resize support. - Extended the GridTest project to demo features
2007-08-10* Grid now has keyboard navigation support.graemeg
* Minor amendment. When Scrollbar.Position gets set, the Slider gets repainted automatically.
2007-08-09* Implemented scrollbar support for Grid.graemeg
* Implemented alternative colomn width support. * Improved painting of Headers and Cells. * Refactored a bit of panting for Headers, Cells and Gridlines. * Fixed up the clipping issues in the Grid.
2007-08-08* Fixed the TfpgButton focus rectangle to not be so close to the edge.graemeg
* Fixed the TfpgBaseGrid header title painting.
2007-08-08* Finally fixed all painting issues with rectangles and clipping.graemeg
* Reverted the methods back to using TfpgRect instead of TRect. TfpgRect has better support for Width and Heigh - required by many Canvas methods. * Implemented helper functions like InflateRect but support TfpgRect * Fixed all painting issues and rectangle sizes in all components. * Fixed up all examples and test projects to compile and work correctly. * Fixes some clip rectangle issues under Linux. TfpgRect was a big help. * Changed the method signatures of many Canvas methods to rather use x, y, width and height. This causes much less confusion and actually less coding in widgets.
2007-08-06* Implemented Canvas.FillGradient().graemeg
* Made some improvements to the TfpgBaseGrid painting. Still have lots outstanding though.
2007-08-04* Started the implementation of a Grid component.graemeg
* Added a test project for the grid component.