summaryrefslogtreecommitdiff
path: root/src/gui/gui_memo.pas
AgeCommit message (Collapse)Author
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-28* Many big changes which removes bucket loads of compiler warnins. These ↵graemeg
will probably break code, but they are easy to fix in your own code. * All Grid Columns and Rows are now Longword types and not Integer. We mixed them all over the place, even though the grids do not support negative rows or columns. * Fixed up the UI Designer because of previous change. Same goes for examples. * Made some changes to get fpGUI compilable under FPC 2.3.1 (latest trunk), but yet no fpGUI application runs yet. No idea why yet.
2008-03-28* Reverted the Memo changes from revision 679 to get the UI Designer working ↵graemeg
again. Andrew can apply his Memo changes once everything is working on his side.
2008-03-27* New Implementation of memo lines. much faster. there is at least one bug ↵drewski207
left :) * new testapp using the memo
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-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-09* Applied Vladimir's TfpgEdit changes to TfpgMemo as well. We should really ↵graemeg
refactor text input components to share some code.
2008-02-09* Introduced to new types: TfpgChar and TfpgString.graemeg
* HandleKeyChar has it's first parameter set to TfpgChar. The start of full unicode text input support. At a later date other paramaters will start changing to the new types introduced.
2008-02-05Applied patch from Slapshot fixing the TVFDPropertyEditor class. ↵graemeg
BackgroupColor property issue. * I reverted the gui_memo.pas changes from r504 to fix a cursor focus issue when the memo contains no text. I will attend to this issue soon, so we don't have to force adding a blank line.
2008-02-01* Applied patch from Jean-Marc which fixes a minor issue in the TfpgMemo and ↵graemeg
TfpgMenu components. It also adds a new BackgroundColor property to TfpgButton. * Minor fixes to Jean-Marc's patch with button painting. * The threedee example now uses the new Button.BackgroundColor property.
2008-01-28* Applied Jean-Marc memo patch adding TextColor and BackgroundColor properties.graemeg
* Renamed the Color property to TextColor for RadioButton, Memo, DBLabel, Label, Edit and CheckBox. It's less confusing.
2008-01-11* TfpgMemo now allows the user to tab out of the component if UseTabs = False.graemeg
2007-10-10* Resizing widgets now take into account the MinWidth and MinHeightgraemeg
properties. In affect you now cannot resize components into the negative with the UI Designer. * UI Designer: On deleting a component from a form, resets the Object Inspector. * Fixed 'division by zero' errors for the ListView and Memo components when they get resized to smaller that 2x2 pixels in size.
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-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-17* Experimental: started a implementation where the TfpgMemo can graemeg
handle and render text containing Tab characters. * GUI: Implemented a new MRU (Most Recently Used) component. * Designer: Modifiend the designer to have a new MRU menu. * Designer: Extended the designer setup screen so the user can adjust more options. The designer also saves and restores those options. * Designer: The designer now defaults to saving the Name property of components as well. This might end up being a user selectable option in the setup screen.
2007-09-08* Made a few modifications so the GUI Designer works under Windows.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-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-10* Grid now has keyboard navigation support.graemeg
* Minor amendment. When Scrollbar.Position gets set, the Slider gets repainted automatically.
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* Replaced the use of TRect with TfpgRect in gui_scrollbargraemeg
* Minor code formatting changes in gui_scrollbar.pas * Fixed the painting of the little square in the bottom right corner of TfpgMemo and TfpgListView when both scrollbars are shown.
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-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.