summaryrefslogtreecommitdiff
path: root/src/gui/gui_combobox.pas
AgeCommit message (Collapse)Author
2008-01-02* Fixed AV that occurs when a combobox is opened and closed a few times.graemeg
* A minor improvement to the internal stringlist for ListBox components.
2007-12-27* ComboBox dropdown now opens and closes as expected when you click insidegraemeg
the body of the combobox. * When OnClick was introduced in TfpgWidget, it caused duplicate OnClick calls. This has now been fixed. * PopupWindow.Close now calls HandleClose instead of HandleHide. * Fixed a few bugs in ComboBox and ListBox components.
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-12-11* Fixed TfpgApplication to call CheckSynchronize in the application loop so ↵graemeg
multithreaded applications will work. * TfpgApplication now inherits from TComponent so it can act as a container for other components like Forms. * Implemented CreateForm in TfpgApplication. * Fixed the default Height of TfpgComboBox to look at the specified Font instead of a hardcoded value.
2007-12-04* Fixed a memory leak in TfpgCombobox.graemeg
* Fixed a couple of memory leaks in gui_tree.pas
2007-11-07* Rename TfpgCustomComboBox to TfpgAbstractCoboBox.graemeg
* Implemented a actualy Calendar Combobox. It's usable at this stage. * Improved the calendar test project to try out more things.
2007-10-17* Fixed a ComboBox clipping issue where long text would paint over the ↵graemeg
internal button. * Base Dialog now has a better min width and height set. * FileDialog example's form is now maintained by the UI Designer.
2007-10-02* Fixed the Generic Edit Mediator unit for the Dynamic ComboBox.graemeg
The FocusItem property is 1-based and not 0-based like it was implemented. This is where fpGUI is different from LCL or VCL. * Created a MaxLength property for TfpgMemo * Added a comment in gui_combobox so developers know the component is 1-based. Soon the documentation will also mention this.
2007-09-26* Added copyright information in the GUI units.graemeg
2007-09-14* Introduced Setter methods for BaseWindow Width and Height properties.graemeg
* Fixed a minor bug in ComboBox that maintained it's own Width property. This also fixed the issue in the uiDesigner loading forms with comboboxes and not painting the internal button.
2007-09-14* New overloaded EndDraw method for TfpgCanvas.graemeg
* Finished implementation change of ComboBox internal button. It now uses a fake (painted) button instead of a real button. Up/Down state is also supported. * Implemented Up/Down state for Scrollbar buttons. * Increased the version numbers of the fpGUI packages and uiDesigner. * If TfpgEdit is disabled, the mouse cursor doesn't change to a I beam.
2007-09-13combobox changesgraemeg
2007-08-27* Implemented List Mediators with tiOPF support and added a demo.graemeg
* Added a quick workaround for the InvertCaret function causing a AV. * MenuBar now keeps the current menu focused even if you open more than 2 levels deep of Popup Menus. * Added some TODO entries to Widgets. Also published some missing properties. * Fixed repainting issue with TfpgComobBox when you set the Width from code and made the component focusable. Not sure why it wasn't! * Updated Lazarus IDE code template for new fpGUI applications.
2007-08-24* Implement MaxLength in TfpgEditgraemeg
* Published some missing properties in TfpgTrackBar. * TfpgEdit now correctl fires off the OnChange event. * A new Text property has been implemented in TfpgComboBox. * Minor fixes to the generic Edit mediators used for tiOPF. * Added a Edit Mediator demo which tests the implementation. It works!
2007-08-18* Moved and renamed gui_popupwindows.pas unit from GUI to CoreLib.graemeg
* X11: Completed popup window support. * GUI: Amended TfpgComboBox to rather use a popup window for the dropdown portion of the control. * The previous change fixed the issue in the FileDialog where you couldn't select a combo box item with the mouse.
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-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-07* Changed the parameters of DrawRectangle, FillRectangle to rather use Width ↵graemeg
and Height. * DrawLine and DrawRectangle now use the same coordinate system as Windows does. * I need to fixed corrupted painting in widgets due to this.
2007-07-31* Fixed painting of TfpgListBoxgraemeg
* Improved focus rectangle in TfpgComobBox.
2007-07-31* Fixed FillRectangle() under GDI and X11.graemeg
* Implemented Enable/Disbled state in TfpgComboBox. * Fixed painting issues in TfpgScrollbar and TfpgMemo (tested under X11). * Moved SetEnabled and SetVisible in TfpgWidget to protected and virtual.
2007-07-27X11 only:graemeg
* Fixed a bug in the SetLineStyle which caused inaccurate line drawing. This eluded me for ages. * Started the process of removing TfpgRect and replacing it with the standard Object Pascal TRect. * Started updating some methods to rather use two sets of coordinates instead of width and height. * Added a new test to verify drawing accuracy * Implemented more line styles under X11 * Fixed up painting issues in widgets (Scrollbar and Memo are still outstanding) * Added three new helper functions for use with TRect in fpgfx.pas (InflateRect, CentrePoint, OffsetRect).
2007-07-26* Minor fixes with DrawControlFrame and ComboBox down button.graemeg
2007-07-24* Updated gfx_x11 to reflect the changes about modal forms.graemeg
* Minor improvements to the TfpgComboBox.
2007-07-23* Did more work on the TfpgComobBox focus handling.graemeg
2007-07-23* Did more work on the TfpgComboBox. It's starting to look good.graemeg
2007-07-23The first part of removing the obsolete fpGUI and replacing it with the new ↵graemeg
multi-handle design from the prototypes directory.