summaryrefslogtreecommitdiff
path: root/src/gui/gui_edit.pas
AgeCommit message (Collapse)Author
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* More improvements to Calendar component.graemeg
* Lots of refactoring in the text Edit component. * Added a new property BorderStyle to the Edit component.
2007-10-25* Added new UTF8 function used for text translations with .po files.graemeg
* Added BackgroundColor as new published property of TrackBar component. * Specified default property values for BaseGrid component. This help optimize the UI Designer generated code. * Started refactoring code from TfpgEdit to TfpgCustomEdit. This is still incomplete. * Added new prototype project for testing a new Master Maths custom theme.
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-17Designer: minor fix with the Grid Resolution.graemeg
* GUI: Made the PasswordMode a property of TfpgEdit.
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-07GFX: Added support for handle component creation at runtime correct graemeg
while the parent component is already visible. * GUI: Introduced the usage of ComponentState so that the components react correctly in the GUI Designer. Not all components are tested yet. * GUI Designer almost paints the designed form correctly. When placing a component, they are invisible, but as soon as you resize them, they are painted correctly. This is still work
2007-08-30* Memo: OnUpdate now fires at correct times.graemeg
* Memo: Scrollbars now stay in sync with mouse wheel scroll.
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-24* Ported the Generic Edit Mediator for use with tiOPF.graemeg
* Minor changes to other gui controls like missing published properties etc. * Added a Hint property to TfpgWidget, but it is not usable yet.
2007-08-12* The start of clipboard support. Currently on Text is support and the ↵graemeg
clipboard only works inside the current running application. Next step is OS (global) based clipboard support.
2007-08-12* Implemented a Base Dialog class.graemeg
* Implemented 95% of the Font Select dialog. * Completed the FontSelect example project.
2007-08-08* Mouse Cursor support has been added (GDI is untested).graemeg
* TfpgEdit and TfpgMemo now change the mouse cursor correctly. * The prototypes/fpgui2/tests/edittest project show the mouse cursor in action. A GUI example project will be created soon to show all available cursors.
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-08-03* Implemented basic keyboard navigation for PageControl. It needs more ↵graemeg
testing and tweaking though.
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-23The first part of removing the obsolete fpGUI and replacing it with the new ↵graemeg
multi-handle design from the prototypes directory.