summaryrefslogtreecommitdiff
path: root/src/gui/gui_label.pas
AgeCommit message (Collapse)Author
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.
2008-09-27* Rename all corelib units to the new naming convention.graemeg
* Updated the UI Designer to use the new unit names.
2008-09-10* Published ShowHint and ParentShowHint for all gui components.graemeg
* UI Designer: Updated the designer to support ShowHint and ParentShowHint properties. * Updated the ShowHint property in TfpgWidget to use the stored property specifier.
2008-09-02* Added some hints to the UI Designer main form.graemeg
2008-08-31* Renamed the hint window to TfpgHintWindowgraemeg
* Moved F_Hint variable to fpgApplication.HintWindow property. TfpgApplication now manages the life of HintWindow. * Moved DisplayHint (now called ActivateHint) and HideHint into TfpgApplication. * Introduced a new TfpgApplication.HintPause property that will managed the default delay before a help hint is displayed. Default is 1.5 seconds. * gui_edit unit has been updated to handle the new changes. * hintwindow example project has been updated to handle the new changes. * TfpgHintWindow class now manages the Shadow Window (lifetime, size and position). * The Hint Shadow class is now moved to the Implementation section so it's not accessible to the world, but only via the standard Hint Window class. * Introduced a HintWindowClass which is a global variable. It defaults to TfpgHintWindow, but allows the user to change it so a custom hint window can be used instead. * TfpgLabel.Text is now of type TfpgString
2008-07-23* Applied Vladimir's DrawText patch. Nice work.graemeg
2008-05-26* TextFlagsDflt now contains txtEnabledgraemeg
* DrawText now takes the txtEnabled flag into account. Before it always assumed Enabled = True. * gui_tab now uses Canvas.DrawText instead of Canvas.DrawString * gui_label now paints disabled text correctly.
2008-05-19* Merged my private graemeg branch changes (r752:r781) into trunk. These ↵graemeg
changes are required to change all componens from 1-based indexing to 0-based indexing.
2008-04-27* Removed unneeded Canvas.BeginDraw and Canvas.EndDraw calls.graemeg
2008-04-11* Applied patches 1936023 and 1936029. New Canvas.DrawText methods with text ↵graemeg
wrapping and alignment. Label has been updated to use the new DrawText methods. gui_panel had a major overhaul. Patches supplied by Jean-Marc.
2008-04-02* Applied patch (#1930945) from Jean-Marc which introduces a new component ↵graemeg
in gui_panel. * Added the gui_panel demo to the examples directory. * Applied a minor painting fix to the Panel groupbox style. * Extended the gui_panel demo to show the Raised and Lowered look.
2008-04-02* Applied patch (#1929389) from Jean-Marc improving TfpgLabelgraemeg
2008-03-21* Applied patch [1919861] from Jean-Marc for TfpgLabel.graemeg
2008-03-12* Applied patch [ 1911897 ] label bug fix patch - from Jean-Marc.graemeg
* Added some extra bug fixes. Wordwrap resized the component even thought AutoSize = False. * Resizing the TfpgLabel component doesn't re-wordwrap the text if Wordwrap = True.
2008-03-10* Applied label patch from Jean-Marc adding improved Layout, Wraptext and ↵graemeg
Alignment behavior. * Removed TfpgLabel.Length property as it's the same functionality as Width property. * Added the new TfpgLabel properties to the UI Designer. * Added some minor fixes to TfpgLabel when setting properties via the UI Designer.
2008-03-07* So Lazarus Ctrl-Click code navigation worksgraemeg
2008-02-23* Applied textwrap label patch from Jean-Marc.graemeg
2008-02-22* Applied minor Label patch from Jean-Marc.graemeg
2008-02-22* Applied Jean-Marc's ListBox patch.graemeg
* Applied Jean-Marc's RadioButton patch. * Applied Jean-Marc's Menu patch. * Fixed a auteresize issue in the Label component. * Added a new AutoSize property to the RadioButton and improved on Jean-Marc's patch for autosizing the text.
2008-02-22* Applied Label patch from Jean-Marc which adds WrapText and Alignment ↵graemeg
properties to the label component.
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-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-26* Added a new Color property to RadioButton, Button and CheckBox.graemeg
The text color can now be changed per component. * Fixed up the default values for Color and BackgroundColor for a few components. * Extended the EditTest project to show the Color property in action.
2007-12-14* Implemented a OnClick event in TfpgWidget.graemeg
* published OnClick and OnDoubleClick in TfpgLabel, TfpgButton, TfpgBevel.
2007-10-28* Refactored the TfpgLabel component.graemeg
* Implemented a TfpgDBLabel (data-aware) label component. * Created a new DB test example to show how TfpgDBLabel works.
2007-10-15* Published BackgroundColor and OnPaint for TfpgFormgraemeg
* TfpgWidget.HandleShow now always sets Visible = True. This fixes issue with the fpGUI-LCL interface as well. * Added a few more safety checks into the PageControl widget. * The OnPaint event is now wrapped with BeginDraw/EndDraw calls so that a event handler for OnPaint doesn't need to call it explicitly.
2007-09-26* Added copyright information in the GUI units.graemeg
2007-09-14Change AutoSize property of TfpgLabel to be False by default.graemeg
2007-08-03* Added debug lines in GDI code and compiler defines tograemeg
control it. * Adjusted the calls to Windows.SetWindowPos so that the WM_PAINT message gets generated. This fixes a few paint issues. * Adjuset the text in the tabs to be more prominent for the active tab.
2007-07-26* Added a DrawString() method to TfpgStylegraemeg
* Changed TfpgCheckBox, TfpgRadioButton, TfpgLabel and TfpbButton to use fpgStyle.DrawString instead. * Updated the prototype test app to demo these features. * TfpgCheckBox now handle image painting correctly based on the widget state and mouse state (up, down). * Minor improvement to the look of the X in the CheckBox image.
2007-07-24minor fix to TfpgLabel again.graemeg
2007-07-24Replaced some code that got undone in the previous revision regarding modal ↵graemeg
forms.
2007-07-24* Fixed a minor repaint bug in TfpgLabel and AutoSize. If text was setgraemeg
to something smaller, old text still remained on the canvas. * Implemented a new TfpgBevel widget * Added a example project showing the features of the TfpgBevel.
2007-07-24GUI: created a AutoSize property for TfpgLabelgraemeg
2007-07-23The first part of removing the obsolete fpGUI and replacing it with the new ↵graemeg
multi-handle design from the prototypes directory.