summaryrefslogtreecommitdiff
path: root/src/gui/gui_listbox.pas
AgeCommit message (Collapse)Author
2008-06-03* Applied Jean-Marc's patch to gui_listbox fixing issues in editcombo.graemeg
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-27* Removed unneeded Canvas.BeginDraw and Canvas.EndDraw calls.graemeg
2008-04-25* Updated some widgets to handle the Keypad Enter key as well.graemeg
* Updated the UI Designer so F11 works switching between Properties Editor and Form Designer. * Updated the UI Designer so that New Form and Size or Position dialog accepts values when Enter is pressed.
2008-03-27* The color gray is now spelt the same all over.graemeg
2008-03-24* More improvements to the ColorListBox component.graemeg
* Created a new Color ListBox example project.
2008-03-23* Implemented a basic Color ListBox component. It is still incomplete and ↵graemeg
has no published properties yet.
2008-03-22* Increased double buffer on x11 efficiencydrewski207
* Fixed a bug on listbox that allowed Item 0 to be selected with the mouse * Fixed a possible bug for TfpgTimer that possibly could allow timers to be skipped if timer(s) were destroyed during the callback
2008-03-17* Minor patch form Jean-Marc. Change avoids to check for an item in the list ↵graemeg
with an index value = -1
2008-03-12Applied patch [ 1911886 ] listbox patch for editcombo bug from Jean-Marcgraemeg
2008-03-11* Implemented a new fpgGetNamedFontList() functiongraemeg
* Enabled Font Collections support in the Font Select Dialog. Currently only the All Fonts and Alias Fonts collections are active. * TfpgMemo now has a custom internal StringList that will notify the memo of text changes. * Made many code improvements to gui_listbox unit. Lots of redundant code was removed. * Fixed a bug in gui_listbox where the OnChange event did not fire for all instances of FocusItem changing. * Fixed a bug in gui_listbox KeyPress event where it did not take into account that FocusItem is 1-based.
2008-03-10* Applied ListBox patch from Jean-Marc to make OnKeyPress visible.graemeg
2008-02-27* Applied a patch from Antonio which does incrimental searching in listboxes.graemeg
2008-02-25* Scrolling the dropdown to the end, it doesn't display the last item. graemeg
Example: in a un-filtered list the name Yves doesn't get displayed. * The user couldn't select the last item in the dropdown list (filtered or not). Using the keyboard or mouse, selecting the last item didn't close the combobox and select the item. * InternalListBoxSelect() has some bugs. Items property is 0-based but FocusItem is 1-based.
2008-02-22* Applied Jean-Marc's ListBox patch.graemeg
* Applied Jean-Marc's RadioButton patch. * Applied Jean-Marc's Menu patch. * Fixed a auteresize issue in the Label component. * Added a new AutoSize property to the RadioButton and improved on Jean-Marc's patch for autosizing the text.
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-15* Applied Jean-Marc's TextColor and BackgroundColor patch.graemeg
* Made many more modifications based on Jean-Marc's patch and fixed a few things missed.
2008-02-12* Applied patch #1890188 from Jean-Marc regarding gui_editcombo.pasgraemeg
* Removed gui_editcombo.pas from fpgui_package because I'm getting ready for a new release and only want to include stable units. It will get added again after the release.
2008-02-06* Added a new unit gui_editcombo. This is still undergraemeg
heavy development. * Rename IsWinXP to IsWinXPOrLater. Also improved the check to support Windows Vista. * SetFirstItem() is now moved to the public section in gui_listbox.pas unit. * Updated the contributors list.
2008-02-04* Applied patch from Jean-Marc creating new properties for ComboBox and ListBox.graemeg
* Modified the edittest example to show the new changes in action.
2008-01-28* Removed the unused debug code in ComboBox and ListBox units.graemeg
2008-01-26* Middle mouse button click was never detected.graemeg
* CaptureMouse and ReleaseMouse is now not used by default for the TfpgPopupWindow class. * Menu mouse behaviour improved * Fixed Combobox dropdown that did not react to mouse clicks. * Removed support for changing the focused item with the arrow keys. It's not standard behaviour.
2008-01-21* GDI: Fixed index out of bounds errors in ComboBox.graemeg
* GDI: Mouse up/down click now works similar to X11. * GDI: I still have prenty of debug writeln() statements and will only remove them once my testing is complete.
2008-01-21* Fixed some memory leaks in TfpgComboBox.graemeg
* Fixed the destruction order of TfpgComboBox. * Introduced DoRemoveWindowLookup() in gfxbase.pas so that we can offload some of the responsibility from DoReleaseWindowHandle() * Add two new debug methods to help debug fpGUI and fpGUI based applications. They are PrintCallTrace() and PrintCallTraceDbgln(). * Fixed 'Index out of bounds' error when quiting your application. * I included lots of debug output in this revision, so I can test under Windows. As soon as I confirmed everything works, I'll remove the debug output again.
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-10-08* UI Designer: Fixed the issue with scrolling in the property window and the ↵graemeg
active property editor doesn't scroll along. * Added a new event OnScroll to the TfpgBaseListBox
2007-10-05* Implemented a UTF8Insert() and UTF8Delete() proceduresgraemeg
* Fixed up TfpgEdit to now use the UTF-8 versions of Insert() and Delete() which fixes some of the keyboard input issue. * Removed stacks of compiler warnings all over the place. * Fixed up the TfpgMemo to now use the UTF-8 versions of Insert() and Delete() which fixes some of the keyboard input issues.
2007-09-26* Added copyright information in the GUI units.graemeg
2007-09-08* Fixed initial painting of components when they are placed in the graemeg
form designer. * Fixed the initial state of scrollbars for various components. * Implemented more fine grained cursors. Used by the designer for the resizer buttons. * Components can now be moved around in the designer form. * Components can now be placed inside container components like TfpgBevel. * Treeview doesn't crash the GUI designer anymore, yet the painting is still not working for it. * Tab and reverse Tab now work in the GUI designer. * GUI Designer title bar is now consistent in text format.
2007-09-08* GUI Designer: Some code formating changes in generated code.graemeg
* GUI: minor amendments in basegrid and listbox to work correctly in the GUI Designer.
2007-09-06* Moved some methods or properties to the public or published area.graemeg
* Added a new example project. A fpGUI visual form designer. Still not working 100% but it is getting there.
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-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-12* Minor adjustment to the GradientFill function.graemeg
* Played around with the GradientFill and implemented the BlueCurve selection look in the TfpgListBox. This is just a test and will be removed shortly.
2007-08-12* Implemented a Base Dialog class.graemeg
* Implemented 95% of the Font Select dialog. * Completed the FontSelect example project.
2007-08-10* Grid now has keyboard navigation support.graemeg
* Minor amendment. When Scrollbar.Position gets set, the Slider gets repainted automatically.
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-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-23* Did more work on the TfpgComobBox focus handling.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.