Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-08-20 | Fix PageControl bug where left or right tabs are unresponsive to clicks | Graeme Geldenhuys | |
PageControl tabs were on the left or right, and you went over a certain number of tabs, then you couldn't change tabs by clicking with the mouse. The TabSheetAtPos() never took into account the TabPosition, and it always used MaxButtonWidthSum, which is only meant for Top or Bottom postitions. | |||
2013-07-25 | tabs: Fixed the painting of tabs when positioned at tpBottom. | Graeme Geldenhuys | |
* The text was not at the correct position (to high) * The tab height was not the same as when tpTop is used | |||
2013-07-25 | tabs: Tab height is now correctly drawn - no hard-coded 21px height any more | Graeme Geldenhuys | |
2013-07-15 | tabs: ensures that scroll buttons are not visible | Graeme Geldenhuys | |
2013-07-15 | pagecontrol: tab height is not hard-coded any more. | Graeme Geldenhuys | |
2012-10-19 | Code formatting fix: Replace tab character with spaces or fixing indentation ↵ | Graeme Geldenhuys | |
levels. | |||
2012-10-19 | PageControl now has a new ActiveTabColor property | Graeme Geldenhuys | |
We can now set the background color of the active tab so it is much more visible which tab is active. | |||
2011-08-24 | bugfix in PageControl keypress handling. Consume incorrectly set. | Graeme Geldenhuys | |
We incorrectly set the consumed variable, and called inherited unnecessarily. This is now improved. | |||
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-01-13 | tabs: When creating tabsheets, there sizes are immediately calculated. | Graeme Geldenhuys | |
* A new constructor was also added where you can pass the tabsheet title, so tabsheet size can be better calculated if tabs are set to Left or Right. | |||
2011-01-12 | Set Width and Height properties so internal state is correcty. | Graeme Geldenhuys | |
We must not use field variables for Width, Heigh, Top and Left any more. | |||
2011-01-12 | PageControl: Set a default value for published property ActivePageIndex | Graeme Geldenhuys | |
2010-11-18 | PageControl: introduced BeginUpdate and EndUpdate methods. | Graeme Geldenhuys | |
Because new now only paint inside the HandlePaint() method, we need some optimization while setting properties. BeginUpdate now blocks painting until EndUpdate it called. | |||
2010-11-18 | PageControl: tabs painting is now only done in HandlePaint() | Graeme Geldenhuys | |
Painting outside the HandlePaint is possible but very unpredictable, so it is best we do not do it. | |||
2010-11-01 | PageControl: Right click popup menu caption now shows tab you clicked over | Graeme Geldenhuys | |
* The popup menu caption changes if you click over any non-active tabs * Selecting the popup menu item, closes the tab you clicked over - no need to set it as the active tabsheet first, before closing. | |||
2010-11-01 | fpg_tab: Refactored HandleLMousUp and extracted most of the code into a new | Graeme Geldenhuys | |
method called TabSheetAtPos(). This allows the developer to reuse this method too for other things. | |||
2010-10-04 | Published Align property for all widgets. | Graeme Geldenhuys | |
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-04-25 | Publish the new OnShowHint for all other widgets in fpGUI. | Graeme Geldenhuys | |
2010-04-21 | Fixed scroll buttons in PageControl when tabs are left|right positioned. | Graeme Geldenhuys | |
2010-04-20 | PageControl: has a new property Options. | Graeme Geldenhuys | |
Two new Tab Options are available, but only one is implemented so far. to_PMenuClose : Show the 'Close Tab' in popup menu to_PMenuShowAvailTabs : When implemented will list available tabs and change active tab to the selected one. By default the Options property is empty. | |||
2010-04-19 | PageControl: New popup menu to close active tab | Graeme Geldenhuys | |
This needs to be extended in the near future. - enable/disable this function - close active tab or tab that was clicked on - list open tabs in popup menu, so user can change to them. | |||
2010-04-19 | PageControl: New OnClosingTabSheet event added. | Graeme Geldenhuys | |
2010-04-14 | tabs: adds support for Left/Right tab position and mouse support. | Graeme Geldenhuys | |
The Left/Right tab look is still not pretty enough, but at least it is now functional. | |||
2010-03-26 | tabs: make sure internal ActivePageIndex is still correct. | Graeme Geldenhuys | |
2010-03-24 | tabs: InsertPage can now suppress the OnChange event from firing. | Graeme Geldenhuys | |
This is required for loading forms at runtime, on when creating new tabsheets at runtime with Owners set in the constructor. | |||
2010-03-24 | tabs: OnChange even is automatically fired when ActivePage is set. | Graeme Geldenhuys | |
Before this was a manual process. But if the ActivePage was set programatically, the event never fired. This is now fixed. I also changed the internal DoChange event to DoPageChanged - it's now a bit more descriptive. | |||
2010-03-24 | tabs: populate tabsheet.Text for UI Designer. | Graeme Geldenhuys | |
This only occurs in the UI Designer. tabsheet.text will be the same value as the component Name property. | |||
2010-03-24 | tabs: initial implemenation of tab position tpRight. | Graeme Geldenhuys | |
There is no user interaction via mouse yet, just visual painting and keyboard handling works. | |||
2010-03-24 | tabs: Text Formatting Flags are now set per tab position. | Graeme Geldenhuys | |
This is getting ready for new tab positions which will follow shortly. | |||
2010-03-24 | tabs: Fixed ButtonHeight implementation to take FixedTabHeight into account. | Graeme Geldenhuys | |
2010-03-24 | tabs: Correct MaxButtonWidth implementation to take FixedTabWidth into account. | Graeme Geldenhuys | |
2010-03-24 | tabs: defined other tab positions + minor code formatting | Graeme Geldenhuys | |
2010-03-24 | tabs: Renamed MaxButtonHeight method to more clearly define what it does. | Graeme Geldenhuys | |
* New name is MaxButtonHeightSum() * Also set default FixedTabHeight value in constructor which I forgot before. | |||
2010-03-24 | tabs: Implemented left and right tab drawing in DrawTab() method. | Graeme Geldenhuys | |
This is only visual painting, no user interaction yet. This is also just the initial painting - it needs some more tweaking before it is 100% correct. | |||
2010-03-24 | Tabs: New property FixedTabHeight. | Graeme Geldenhuys | |
2010-03-24 | PageControl: UTF8 compliance with text handling in tabs. | Graeme Geldenhuys | |
2010-03-21 | Tab: implemented TabPosition tpBottom and tpNone | Graeme Geldenhuys | |
Thanks to Jean-Pierre ANGHEL <jp.anghel@bbox.fr> for help with implementing this. | |||
2010-03-19 | PageControl: Neaten up code and some minor improvements. | Graeme Geldenhuys | |
Functionality did not change. | |||
2010-02-26 | Update copyright notice in all units. | Graeme Geldenhuys | |
2010-02-25 | Published Hint and ShowHint on all widgets. | Graeme Geldenhuys | |
2008-11-06 | * Minor fix in TabSheet bg color. | graemeg | |
2008-10-14 | * UI Designer: New component TfpgTabSheet component on the palette. | graemeg | |
* UI Designer: visual editing of PageControl is now possible. Loading and saving of your design also works. It still needs testing and the pagecontrol sometimes draws artifacts. | |||
2008-10-13 | * Added some extra sanity checks in TfpgPageControl. | graemeg | |
* UI Designer: Started experimental support to edit a PageControl visually in the designer. | |||
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. |