summaryrefslogtreecommitdiff
path: root/src/gui/fpg_combobox.pas
AgeCommit message (Collapse)Author
2011-09-21fixed bug where combobox hint closes the dropdown window.Graeme Geldenhuys
2011-05-19Implemented a ComboBox.ReadOnly property.Graeme Geldenhuys
2011-05-19Combobox paint optimization.Graeme Geldenhuys
We painted the background rectangle twice. So I just removed the duplicate paint code.
2011-05-08globally renamed TFTextFlags to TfpgTextFlagsGraeme Geldenhuys
Somehow I forgot to rename this type when we introduced the 'fpg' prefix years ago.
2011-05-08globally renamed TFButtonFlags to TfpgButtonFlagsGraeme Geldenhuys
Somehow I forgot to rename that type name when we moved over to the 'fpg' prefix.
2011-03-08Combobox margin fixGraeme Geldenhuys
When painting the combobox did not take into account that the margin applies to both the left and right side of the combobox.
2011-02-07ComboBox: New Margin default 3 -> 1.Graeme Geldenhuys
The Margin is how many pixels from the internal background the text must appear. Later we will replace this with SideMargin and HeightMargin properties.
2011-02-07ComboBox: text position is now the same as TfpgEdit.Graeme Geldenhuys
We now use Canvas.DrawString() to auto calculate the text position based on the text flags passed in. This is now the same as TfpgEdit does.
2011-02-07Combobox fix: Setting the Martin cause the Height to change.Graeme Geldenhuys
Now the Height will only change if AutoSize is actually enabled.
2010-11-12ComboBox widget now has a AutoSize property default set to FalseGraeme Geldenhuys
* ComboBox was always auto sized which is not always desired. We now have a property to control that behaviour. * Default is False, in preperation for layout managers which control the size. * Widget frame borders are now retrieved from the current Style instance. * default Height is set to 24px. The same default used for TfpgEdit widget. Default sizes have been moved up into TfpgBaseComboBox, out of TfpgBaseStaticCombo.
2010-10-29Published the DND propertys for some of the most used components.Graeme Geldenhuys
This is so they can be tested. Once DND stabilizes, I'll make the properties available on the other components too.
2010-10-04Published Align property for all widgets.Graeme Geldenhuys
2010-10-01published Enabled property on all (most) componentsGraeme Geldenhuys
* Now the UI Designer can work with that property too * A few other components got one or two other properties published too.
2010-06-29Combobox: no point having protected methods that are not virtual.Graeme Geldenhuys
2010-04-29Fixed code to remove compiler warnings/hints.Graeme Geldenhuys
2010-04-25Publish the new OnShowHint for all other widgets in fpGUI.Graeme Geldenhuys
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2010-02-25Published Hint and ShowHint on all widgets.Graeme Geldenhuys
2009-03-20* Minor X11 debugging improvements.graemeg
* Named internal components * Introduced TfpgBaseCheckbox class. * Refactored text drawing in ComboBox to a method that can be overridden in descendants. * Implemented a new (experimental) Calendar Combo with Checkbox for optional date selection. * Added Calendar Combo Check component to UI Designer. * Fixed some missing properties from Calendar Combo component in UI Designer.
2009-03-09ExtraHint property for EditCombo. Thanks to Jean-Marc.graemeg
2009-02-16Reverted the previous vista hint implementation. Introduced a new ExtraHint ↵graemeg
property which is separate from the Hint property.
2009-02-13* Applied combobox patch from Clemens adding improved hint support.graemeg
2009-02-12* Applied Jean-Marc's margin patches.graemeg
2008-10-06* Applied Jean-Marc's calendar patch adding start week day etc.graemeg
2008-10-05* Added a new Canvas.DrawPolygon() methodgraemeg
* Added a new unit fpg_extgraphics.pas with extensive shape drawing methods * Added a new conversion method called fpgRectToRect() * Replaced the implementation of TfpgStyle.DrawDirectionArrow to use the new fpg_extgraphics.PaintTriangle() method instead. * Adjusted ComboBox painting of internal button to accomodate the new fpg_extgraphics unit. * Added Jean-Marc's new fpg_spinedit unit. * Made some further improvements and minor fixes to the SpinEdit and SpinEditFloat components. * renamed the fpdoc file fpgfx.xml to fpg_main.xml as per the new unit names.
2008-09-27* Phase 2 of the unit rename is complete. The gui units have now been renamed.graemeg
* UI Designer has been updated to reflect the new gui unit names.