Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-18 | bug: OnKeyPress() keycode parameter was 0 for internally consumed keys. | Graeme Geldenhuys | |
Arrow keys, PgUp, PgDn, Home, End, Enter, Tab, Backspace were all consumed internally and prevented the keycode from being set correctly. | |||
2015-03-05 | Published some mouse events for Checkbox, ComboBox, Edit, EditBtn, Listbox ↵ | Graeme Geldenhuys | |
and Memo | |||
2014-03-10 | Move ShowThousand setting to BaseNumericEdit | Jean-Marc.Levecque | |
2014-02-23 | edit: Remove more hard-coded values for improved themes support. | Graeme Geldenhuys | |
2013-06-07 | Surfaced OnKeyChar event for fpg_edit widgets. | Graeme Geldenhuys | |
2013-05-20 | Removed Canvas.DrawControlFrame() - fpgStyle has tha functionality now | Graeme Geldenhuys | |
Canvas.DrawControlFrame() simply passed it along to fpgStyle for a long time already. Now we finally separate the two, so the Styling code can be separated from the corelib code. | |||
2013-04-17 | Revert "Make special characters known by edit components" | Graeme Geldenhuys | |
This reverts commit bff6c8c3b5071ae28ba3c10cf612c55e893926b4. | |||
2013-04-17 | Revert "Use dead key codes for special accentuated characters" | Graeme Geldenhuys | |
This reverts commit 5ee5b79db4825a3b2afa03dde72ddbe7e46b3c47. | |||
2013-04-17 | Revert "Add common procedures in fpg_base for deadkeys" | Graeme Geldenhuys | |
This reverts commit ccfd4b2ae0a9dfae0d19ae7ba673118af70c75da. | |||
2013-03-22 | Add common procedures in fpg_base for deadkeys | Jean-Marc Levecque | |
2013-03-22 | Use dead key codes for special accentuated characters | Jean-Marc Levecque | |
2013-03-22 | Make special characters known by edit components | Jean-Marc Levecque | |
2013-02-25 | numeric edits: adds min/max limits | Jean-Marc Levecque | |
I was just ready to send a new patch concerning the limit values which is solving the issue with the gridediting. In addition, it is now possible to set only one limit, max or min, and I solved a bug on the editfloat which prevented to enter decimals in some cases. | |||
2013-01-03 | needed of values limits on integer edits. | Jean-Marc Levecque | |
2012-11-09 | Moved Menu-key press handling up the class hierarchy to TfpgWidget. | Graeme Geldenhuys | |
No need for so much code duplication. This also means that widgets like TfpgStringGrid now have keyMenu keypress behaviour. Basically any widget that supports a PopupMenu. | |||
2012-10-23 | edit: HandlePaint() now uses the theming engine to determine the border widths. | Graeme Geldenhuys | |
No more hard-coded 2 pixel widths. | |||
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-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. | |||
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-09-07 | Changed the password char from asterisk to unicode black circle | Graeme Geldenhuys | |
2011-05-08 | globally renamed TFTextFlags to TfpgTextFlags | Graeme Geldenhuys | |
Somehow I forgot to rename this type when we introduced the 'fpg' prefix years ago. | |||
2011-05-06 | Refactored the TfpgBaseEdit to use the new style painting method. | Graeme Geldenhuys | |
2011-01-13 | Creating various Edit components via helper functions now call UpdateWindowState | Graeme Geldenhuys | |
This means that the internal state of the result component instances are set correctly - without extra developer intervention. | |||
2010-11-12 | Edit widget: changed AutoSize default to False | Graeme Geldenhuys | |
* This was done in preperation for layout managers which will control widget sizes, and AutoSize will just interfere. * Default Height is now set at 24px (same as what it was before with default Arial font) * Also implementeted setter for AutoSize property. This now correctly adjusts the widget set when the property is changed to True. | |||
2010-11-12 | Position the cursor correctly inside a Edit with text. | Graeme Geldenhuys | |
Old behaviour was that the beginning of long text was scrolled off the left of the edit, so you saw the end of the text. Now we should see the beginning of the text and the end of the Text is out of view on the right. | |||
2010-10-29 | Published 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-15 | BaseNumericEdit NegativeColor property was used instead of field variable. | Graeme Geldenhuys | |
The property does more that just set the color. It calls FormatEdit, which changes the color of TextColor property. This meant the parent color was never stored in FOldColor field variable. | |||
2010-10-15 | BaseNumericEdit did not specify the default property color. | Graeme Geldenhuys | |
By defining the default color, the UI Designer can omit that line in generated code, if the color did not change. | |||
2010-10-15 | fpg_edit: removed pointless property declarations | Graeme Geldenhuys | |
Those properties are exactly the same visibility as inherited classes, so no point in simply listing them again. TextColor was the exception, it was public, so you can't decrease the visibility in descendants. | |||
2010-10-04 | Published Align property for all widgets. | Graeme Geldenhuys | |
2010-10-01 | minor bugfix in TfpgBaseNumericEdit. Setting NegativeColor doesn't cause a ↵ | Graeme Geldenhuys | |
repaint | |||
2010-10-01 | published Enabled property on all (most) components | Graeme Geldenhuys | |
* Now the UI Designer can work with that property too * A few other components got one or two other properties published too. | |||
2010-09-25 | published DND events for Button, Edit and Label components. | Graeme Geldenhuys | |
This is just a start, so a few widgets can be tested with DND. After DND has be tested more, other widgets will get the published properties too. | |||
2010-09-22 | memo: implemented clipboard support with default popup menu support. | Graeme Geldenhuys | |
2010-05-07 | Edit: removed redundant background painting code for BaseNumericEdit. | Graeme Geldenhuys | |
* now read-only and disabled states display correctly. | |||
2010-04-25 | Publish the new OnShowHint for all other widgets in fpGUI. | Graeme Geldenhuys | |
2010-04-21 | Edit: fixed vertical centering of text. | Graeme Geldenhuys | |
Before we had a hard-coded top co-ordinate for the text. This caused problems when the TfpgEdit.Height was adjusted for some reason. So now we rather use the Canvas.DrawText() and give it a rectangle and text flags so text output can be calculated correctly. This is very useful for inline editing in a StringGrid. Internally Canvas.DrawText calls fpgStyle.DrawString, so custom styling should still be applied. | |||
2010-04-14 | Edit: When the component is disabled, the ExtraHint should not be shown. | Graeme Geldenhuys | |
The old behaviour was indistinguishable between Disabled state with actual Text. So we had to modify the ExtraHint painting. | |||
2010-04-13 | Edit: When setting read-only at runtime, the component never repainted itself. | Graeme Geldenhuys | |
2010-04-07 | Added 'Insert from Character Map' menu item for default popup menu in TfpgEdit | Graeme Geldenhuys | |
Text can now be inserted into a TfpgEdit via the Character Map dialog. | |||
2010-04-01 | edit: Introduced a new property AutoSize. | Graeme Geldenhuys | |
If True (default), then the Height will be adjusted based on the FontDesc being set. |