Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-09-21 | trackbar: bug fix. When setting the position, it never caused a repaint. | Graeme Geldenhuys | |
2012-09-21 | trackbar: refactor the classes and introduced a new TfpgBaseTrackBar class. | Graeme Geldenhuys | |
This process is not complete, but it already reduced a lot of code duplication. | |||
2012-09-21 | trackbar: Fixed the focus rectangle flicker problem while dragging. | Graeme Geldenhuys | |
2012-09-21 | trackbar: made sure all painting only occurs in the HandlePaint event | Graeme Geldenhuys | |
2012-08-28 | Publishes various other mouse events for the various panel widgets. | Graeme Geldenhuys | |
2012-08-28 | Publishes the OnMouseScroll event for various widgets. | Graeme Geldenhuys | |
2012-08-28 | treeview: scrollbar width is now set to the standard 16px | Graeme Geldenhuys | |
No more usage of "magic" numbers either. | |||
2012-08-23 | listbox: Rather use BeginUpdate..EndUpdate | Graeme Geldenhuys | |
This will call UpdateScrollBar and Repaint anyways. | |||
2012-08-21 | changes param type from String to TfpgString | Graeme Geldenhuys | |
2012-08-21 | memo: removes unnecessary code. The Memo field was just a reference. | Graeme Geldenhuys | |
This also fixes a strange "lost pointer reference" issue under Windows. Not sure what FPC is doing there. | |||
2012-08-02 | Prevents a possible AV when the Memo reference might already have been set ↵ | Graeme Geldenhuys | |
to nil. This could happen in some cases when the TfpgMemo is destroyed while contain text. | |||
2012-07-31 | grid: Adds some missing mouse events to the published section. | Graeme Geldenhuys | |
2012-07-31 | filedialog: widgets were not perfectly spaced in the horizontal area. | Graeme Geldenhuys | |
* Increased the width of most widgets by 2 pixels. Now left and right border spacing is equal. * Increased the grid height by 2 pixels, just to give grid content some extra space. | |||
2012-07-31 | Fixes a potential memory leak. | Graeme Geldenhuys | |
I say potential, because FDropDown is free immediately after it is not needed any more, but if for some reason it wasn't, then we should free it in the destructor of the widget. | |||
2012-07-31 | progressbar: text percentage is now only calculated when really needed. | Graeme Geldenhuys | |
2012-07-31 | replaces tab character indentation with 2-space indentation. | Graeme Geldenhuys | |
2012-07-17 | hyperlink: published more properties that where available from TfpgCustomLabel. | Graeme Geldenhuys | |
2012-04-05 | Fixes text selection which caused double text to appear. | Graeme Geldenhuys | |
The following changes was made: * Revert "Edit: fixed vertical centering of text." This reverts commit 6f0128aea4f4efcffe0d6ab3ce9bfe. This commit made many undesired results, so it was best to undo them all. * Fix GetClientRect() which never set the Result value for BorderStyle = ebsNone. This now fixes the actual problem we experienced and was the reason for commit 8e129e1d34. | |||
2012-03-15 | Canvas read-only LineWidth property changed to a function GetLineWidth() | Graeme Geldenhuys | |
This is so AggPas's canvas doesn't conflict, which also has a LineWidth method. I want to prevent similar name confusion. | |||
2012-02-21 | fpg_edit: again found some TAB character indentation lines - replaces with ↵ | Graeme Geldenhuys | |
Space indentation. | |||
2012-02-21 | fpg_edit: for text color adjust to work, repainting must occur a bit later. | Graeme Geldenhuys | |
DoOnChange must now occur before any call to RePaint. This gives us time to adjust the text color for possitive or negative values. | |||
2012-02-21 | fpg_edit: adjust text color only when the edit box value has changed. | Graeme Geldenhuys | |
2012-02-21 | merge with previous commit. | Graeme Geldenhuys | |
2012-02-21 | fpg_edit: setting the text color via the field variable instead. | Graeme Geldenhuys | |
If setting the text color via the TextColor property, then FOldColor get overwritten and we loose the real old color. | |||
2012-02-21 | fpg_edit: use the existing DoOnChange method instead. Consistency is key. :) | Graeme Geldenhuys | |
2012-02-21 | fpg_edit: setting NegativeColor property at runtime never caused an repaint. | Graeme Geldenhuys | |
2012-02-21 | fpg_edit: Setting TextColor in numeric edit components never updated ↵ | Graeme Geldenhuys | |
OldColor value. | |||
2012-02-21 | fpg_edit: refactored out the TextColor change due to negative/positive values. | Graeme Geldenhuys | |
This allows use to reuse this bit of code without affecting the internal FText values - as is caused by SetShowThousand in FormatEdit(). | |||
2012-02-21 | minor code formatting in fpg_edit unit. | Graeme Geldenhuys | |
There was tab character indentation for some reason. I converted these to Space character indentation. | |||
2012-02-21 | New method GetNodeAt() for TfpgTreeView. | Graeme Geldenhuys | |
This is vital for drag-n-drop support inside a treeview component. | |||
2012-01-18 | A reworked patch from Jean-Marc | Graeme Geldenhuys | |
* moved the modifications from TfpgAbstractPanel to TfpgFrame. The new additional behaviour only relates to Frame usage, not Panel or Bevel. * Added a new OnCreate() event for convenience. * Now calling AfterCreate at the correct time - just like what is done in TfpgForm. | |||
2011-12-08 | Introduced a BaseGauge class which TfpgGauge descends from. | Graeme Geldenhuys | |
- Also made the various xxxDraw methods virtual and moved them to the protected section. So they can be overridden in descendants if needed. - Fixed the default color value of the Color property. The value stored in RTTI was different to the actual value assigned in the constructor. | |||
2011-12-08 | embedded TAB characters replaced with Space character indentation. | Graeme Geldenhuys | |
2011-12-05 | Bump visibility of BorderStyle property in StringGrid and FileGrid widgets | Graeme Geldenhuys | |
2011-12-05 | Implements BorderStyle property for basegrid widget. | Graeme Geldenhuys | |
2011-12-05 | Remove redundant painting code in basegrid. | Graeme Geldenhuys | |
The HandlePaint() method is already wrapping with BeginDraw/EndDraw calls in the TfpgWidget class. | |||
2011-12-01 | treeview: Adds BeginUpdate / EndUpdate support. | Graeme Geldenhuys | |
This drastically improves performance, if you have some code that iterates and updates all nodes. | |||
2011-11-29 | Implements BorderStyle for TfpgMemo. | Graeme Geldenhuys | |
2011-11-29 | move declaration of TfpgEditBorderStyle so it is more accessible. | Graeme Geldenhuys | |
This now makes it easier to reuse this border style declaration in other widgets. We need to refactor some other widgets too, that have there own border styles as well. | |||
2011-11-21 | Fixed the parameter modifier of TfpgStyleManager.AssignStyleTypes() | Graeme Geldenhuys | |
We can now pass in the Lines property of a Memo or Combobox directly, without the need of an extra local TStrings variable. | |||
2011-11-18 | First draft of MDI support. | Graeme Geldenhuys | |
This work equates to about 3 hours of coding. Not bad I think! ;-) The general idea is to have to new classes. The MDIWorkArea class is the parent widget form MDI child forms. We then also have a MDIChildWindow class which implements the outer child window - thus the one with the titlebar and blue borders. The end use creates a form based on TfpgFrame, not TfpgWindow. This design might change later. The users form is then embedded inside the MDIChildWindow, and displayed inside the bounds of the MDIWorkArea. | |||
2011-11-07 | fixes a spelling mistake in a code comment | Graeme Geldenhuys | |
2011-10-27 | tree: improved the spacing / positioning of the node text inside the focus ↵ | Graeme Geldenhuys | |
selection The text was right on the left edge of the focus selection rectangle. Now it is evenly spaced with 2px margin on each side. | |||
2011-10-27 | tree: Added a note about the limitation of Node.HasChildren call. | Graeme Geldenhuys | |
For now, please use Node.Count instead. | |||
2011-10-26 | treeview: implemented StateImageList support (treeview with checkboxes for ↵ | Graeme Geldenhuys | |
example) - Added StateImageList to TfpgTreeview - Added StateImageIndex to TfpgTreeNode - Added OnStateImageClicked event for TfpgTreeview. - Reworked the TfpgTreeview.HandlePaint() method for the new functionality, and also removed all the code duplication that existed before. - The node selection rectangle now only cover the text portion of a node, and note the images related to that node. - Minor bugfix in the selection rectangle, when depending on various properties, the selection rectangle was too small, and the node text wasn't fully visible. | |||
2011-10-26 | fpg_tree: replaced all debugging writeln() statements with SendDebug() calls | Graeme Geldenhuys | |
We can now use the fpGUI's Debug Server to monitor any debug events. | |||
2011-09-21 | fixed bug where combobox hint closes the dropdown window. | Graeme Geldenhuys | |
2011-09-21 | PromputUserDialog: changes so descendants have better access to certain data. | Graeme Geldenhuys | |
- We can new set an initial UserID too. - Moved two TfpgEdit components to protected section. | |||
2011-09-21 | SelectFileDialog() can now specify the initial directory too. | Graeme Geldenhuys | |
2011-09-07 | Changed the password char from asterisk to unicode black circle | Graeme Geldenhuys | |