summaryrefslogtreecommitdiff
path: root/src/gui/fpg_popupcalendar.pas
AgeCommit message (Collapse)Author
2011-07-13calendar improvement: removed unnecessary drawing linesGraeme Geldenhuys
A slightly tweaked DrawButtonFace() is all that is really required.
2011-07-13changes in preparation for FPC Trunk support.Graeme Geldenhuys
Prevents a possible compiler error.
2011-07-13calendar bugfix: we excluded minyear and maxyear from valid rangeGraeme Geldenhuys
This meant that sometimes we couldn't select the desired date.
2011-05-08globally renamed TFTextFlags to TfpgTextFlagsGraeme Geldenhuys
Somehow I forgot to rename this type when we introduced the 'fpg' prefix years ago.
2011-03-08Calendar Check Combo did not paint date text in correct position.Graeme Geldenhuys
Now it takes into account the height of the component and calculates the text position accordingly.
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-29Calendar Combo: Correctly position Month popup menu.Graeme Geldenhuys
If there isn't space at the bottom of the Month Edit, then place the Month popup menu above the Month Edit. We had to introduce a friend class, to get access to the protected PrepareToShow method.
2010-06-29Calender Check Combo: when unchecked and you select date, it must show checked.Graeme Geldenhuys
The internal state was updated to checked, but visually it still looked unchecked. A simple call to Repaint fixes this.
2010-06-29Calendar: DontCloseWidgset property doesn't actually need to be set in this ↵Graeme Geldenhuys
case.
2010-06-29Removed forgotten debug line.Graeme Geldenhuys
2010-06-28Calendar: Implemented year select popup window when clicking the Year in ↵Graeme Geldenhuys
calendar. Now end-users can quickly move through years, 10 at a time - forward or backwards.
2010-06-28Checkbox Calendar: Clicking the checkbox didn't repaint the display.Graeme Geldenhuys
No idea how I missed that one! Anyway, fixed now.
2010-06-28Checkbox Calender: Bug fix in SetDateValueGraeme Geldenhuys
* The validation that was done, was done with the internal date value, instead of the new date value passed in. Oops! * Removed some old commented code.
2010-06-28popupcalendar: minor fix to code to remove compiler hint. Unused variable.Graeme Geldenhuys
2010-06-25Calendar: adjust day if needed when new month is selected.Graeme Geldenhuys
eg: if current day is 31, and we select February, adjust day to 28 or 29 (last day of Feb).
2010-06-25Calendar: Implemented month selection popup menu when clicking on Month editbox.Graeme Geldenhuys
2010-06-17Calendar Combo: Selecting dates outside current month is now ignoredGraeme Geldenhuys
Before if you select for example 29 of previous month, it selects the 29th of the current month. This could cause problems with shorter months so now selecting days in grey (previous or next month) are ignored.
2010-06-17Calendar Combo: implemented Single Click Select.Graeme Geldenhuys
* When enabled with CloseOnSelect, then as soon as the end-user selects a date with a single click, the dialog is closed. * When enabled without CloseOnSelect, then the date value is changed as soon as use single clicks on a date.
2010-04-25Publish the new OnShowHint for all other widgets in fpGUI.Graeme Geldenhuys
2010-04-01popup calendar: Set some extra properties for the year and month edits.Graeme Geldenhuys
New AutoSize and IgnoreMouseCursor settings applied to edtYear and edtMonth.
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2010-02-25Published Hint and ShowHint on all widgets.Graeme Geldenhuys
2009-11-30fixed compiler reported visibilty issues.Graeme Geldenhuys
2009-03-26* CalendarCheckCombo now handles checkbox clicking with mouse.graemeg
* CalendarCheckCombo now paints checkbox location correctly. * CalendarCheckCombo now has a new OnCheckboxChanged event.
2009-03-21Applied patch from Jean-Marc.graemeg
* Fixes size of Today button in drowdown calendar combo. * Updated French translation file.
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-02-17* Fixed memory leaks in Calendar Combobox.graemeg
2008-10-20* Published new events for Calendar Combo.graemeg
* tiOPF: CalendarCombo mediator now hooks into the OnChange and OnExit event.
2008-10-12* Applied jean-marc's calendar patch.graemeg
2008-10-06* Applied Jean-Marc's calendar patch adding start week day etc.graemeg
2008-10-03* Added Jean-Marc initial implementation of SpinEdit component.graemeg
* I made some changes and minor bug fixes to the SpinEdit and highlighted some todo items in the header of the unit.
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.