summaryrefslogtreecommitdiff
path: root/src/gui/fpg_panel.pas
AgeCommit message (Collapse)Author
2012-01-18A reworked patch from Jean-MarcGraeme 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-11-18First 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-09-02Corrected the timing when AfterCreate is called in TfpgFrameGraeme Geldenhuys
2011-08-18Added TfpgFrame to fpGUI.Graeme Geldenhuys
This is a UI Designer friendly component that allows you to embed frames "Windows" inside other windows.
2011-05-08globally renamed TFTextFlags to TfpgTextFlagsGraeme Geldenhuys
Somehow I forgot to rename this type when we introduced the 'fpg' prefix years ago.
2011-01-12Use Width and Height properties instead of internal fields in constructorGraeme Geldenhuys
This is sow that the internal FPrevXXX and other state information is setup correctly. The Edit Button controls also needed some extra code to work correctly in the UI Designer.
2010-10-29Published 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-11Added a default parameter value for CreatePanel() functionGraeme Geldenhuys
2010-10-04Published Align property for all widgets.Graeme Geldenhuys
2010-10-03Published OnPaint for TfpgPanel and TfpgGroupBox.Graeme Geldenhuys
2010-10-01published Enabled property on all (most) componentsGraeme 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-21panel/bevel: corrected the shadow color used in box/panel styleGraeme Geldenhuys
2010-07-02fpg_panel: bsVerDivider now takes BorderStyle into account.Graeme Geldenhuys
If BorderStyle = bsDouble, it now paints two dividers.
2010-07-02fpg_panel: Improved the sucken look by using the correct shadow color.Graeme Geldenhuys
A lighter shaddow looks better for indentation than a dark shadow.
2010-07-02fpg_panel: BorderStyle only really applies to bsBox styleGraeme Geldenhuys
The code now reflects that. All other bsXXX style use a single pixel solid line.
2010-07-01TfpgBevel has a new Shape type: bsVerDividerGraeme Geldenhuys
It's similar to bsLeftLine, but looks a bit prettier. :-) It could also possibly be used as a grab handle for movable toolbars in the future.
2010-07-01fpg_panel: Refactored the HandlePaint method.Graeme Geldenhuys
* It was extremely hard to maintain that method as all Shape types drawing code are mixed together. * Not all shape types (eg line top,bottom,right,left) was painted 100% because of shared code. * Each shape type now has its own DrawXXX method, with the result both issues mentioned above are resolved.
2010-07-01fpg_panel refactoredGraeme Geldenhuys
FPanelShape is only required in TfpgBevel, so I removed from all other classes.
2010-06-04Bumped visibility to Published for some properties.Graeme Geldenhuys
This facilitates in the loading of external form files at runtime.
2010-04-25Publish the new OnShowHint for all other widgets in fpGUI.Graeme Geldenhuys
2010-04-20Panel/Bevel: new property ParentBackgroundColorGraeme Geldenhuys
This controls the behaviour of the BackgroundColor property.
2010-04-16New TfpgFontEdit component.Graeme Geldenhuys
Another composite component. TfpgEdit + TfpgButton to select a font.
2010-03-16Code not needed any more, parent class already does this.Graeme Geldenhuys
2010-03-01Fixed memory leak in TfpgGroupBox. Never freed the used font.Graeme Geldenhuys
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2010-02-25Published Hint and ShowHint on all widgets.Graeme Geldenhuys
2009-11-30fixed compiler reported visibilty issues.Graeme Geldenhuys
2008-11-25* Added some of the missing published properties to TfpgPanel.graemeg
* Added TfpgGroupBox to UI Designer component palette.
2008-11-08* Implemented GetClientRect for TfpgBaseEditgraemeg
* Replaced Char with TfpgChar for TfpgBaseNumericEdit * Fixed visiblity of GetClientRect in TfpgAbstractPanel * Fixed text position in TfpgBaseNumbericEdit - spacing from the right.
2008-10-26* Added missing published properties to components in fpg_panel unit.graemeg
2008-10-14* Applied SpinEdit, Edit, Button and Panel patch from Jean-Marc.graemeg
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.