summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-03-26Fix HandleKeyPress handling. When ReadOnly, then keyTab and keyMenu did not ↵Graeme Geldenhuys
work. Now even though the Edit component is read only, you can select text with the keyboard, tab in/out and activate the popup menu with the Menu key.
2010-03-25Minor tweak to TfpgEdit to unselect text when right arrow key is pressed.Graeme Geldenhuys
When the component gets focus and autoselect is enabled, if you pressed the right arrow it did not unselect the text, but the left arrow did. This is now fixed.
2010-03-24tabs: 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-24tabs: 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-24tabs: 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-24This makes sure csLoading is still active for the current Form whenGraeme Geldenhuys
properties are populated.
2010-03-24tabs: 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-24tabs: 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-24tabs: Fixed ButtonHeight implementation to take FixedTabHeight into account.Graeme Geldenhuys
2010-03-24tabs: Correct MaxButtonWidth implementation to take FixedTabWidth into account.Graeme Geldenhuys
2010-03-24tabs: defined other tab positions + minor code formattingGraeme Geldenhuys
2010-03-24tabs: 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-24tabs: 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-24Tabs: New property FixedTabHeight.Graeme Geldenhuys
2010-03-24PageControl: UTF8 compliance with text handling in tabs.Graeme Geldenhuys
2010-03-23GDI: internet links in unit header commentGraeme Geldenhuys
I added some useful internet links to the header of the unit. Win32 API, WinCE API and general FPC WinCE information.
2010-03-21Tab: implemented TabPosition tpBottom and tpNoneGraeme Geldenhuys
Thanks to Jean-Pierre ANGHEL <jp.anghel@bbox.fr> for help with implementing this.
2010-03-19PageControl: Neaten up code and some minor improvements.Graeme Geldenhuys
Functionality did not change.
2010-03-19SelectDir Dialog changes - initial selection directory now works.Graeme Geldenhuys
* SelectedDir is now a read/write property * SelectDirDialog() now handles the AStartDir parameter.
2010-03-19New translation string for 'Select a directory' dialog.Graeme Geldenhuys
I used Google Translate for the non-English languages - I guess there will be some errors. :-/
2010-03-19TreeView: SetSelection did not position the selected node in a visible area.Graeme Geldenhuys
Now it does.
2010-03-19New convenience string functions.Graeme Geldenhuys
* fpgAppendPathDelim() * fpgRemovePathDelim()
2010-03-19SelectDir dialog: Fixed various issues in the dialog.Graeme Geldenhuys
* Removed duplicate / char under Linux * Fixed directory selection under Windows - this was totally broken. Thanks to Jean-Pierre ANGHEL <jp.anghel@bbox.fr> for some support on this and bringing it to my attention.
2010-03-18WINCE: Replaced magic numbers with windows constants.Graeme Geldenhuys
WS_BORDER is still under test. Problem is that if we include it, it draws a border on all windows, including Labels, Buttons, etc. :-(
2010-03-18Refactored the TfpgHintWindow class for better user customization and ↵Graeme Geldenhuys
resource usage. * Changed the parent class of TfpgHintWindow to TfpgBaseForm * Removed the internal TfpgLabel, and instead paint directly to the form canvas. * Due to previous change, we now manually need to paint borders if needed - not a problem. * Removed unused properties and surfaced existing properties from TfpgBaseForm. eg: BackgroundColor, TextColor etc.
2010-03-18Add support for changing the HintWindow and HintWindowClass at runtime.Graeme Geldenhuys
It now correctly frees the old hintwindow and recreates it with whatever the new hintwindowclass is.
2010-03-18Casting not required any more.Graeme Geldenhuys
2010-03-18BMP reading: This fixes the image loading issue on WinCE devices.Graeme Geldenhuys
Patch supplied by Adrian Veith <adrian@veith-system.de>.
2010-03-18Minor code formatting change.Graeme Geldenhuys
2010-03-18WinCE: Now we can enable fpgCreateStandardImages again.Graeme Geldenhuys
2010-03-18WinCE: Fix painting of BMP images to screen.Graeme Geldenhuys
Thanks to Adrian Veith <adrian@veith-system.de> for the patch.
2010-03-18package settings: Use AnsiString and disable optimisation for better debugging.Graeme Geldenhuys
2010-03-18Setting MouseCursor at design time now works correctly under X11.Graeme Geldenhuys
2010-03-16MenuBar issues with visibility when created at runtime.Graeme Geldenhuys
A minor fix to correct visibility of child components when creating embedded forms which have menu bars. HandleShow is not called in such cases, so vital code was skipped. This code has now moved to HandlePaint which is always called.
2010-03-16Fixed visibility handling of components created at runtime.Graeme Geldenhuys
We used to force all components to Visible = False, and iterated this to child components. Now all components default to Visible = True (just like the global default), and hiding child components, you only need to hide the parent (visible = False) - no iteration needed.
2010-03-16Code not needed any more, parent class already does this.Graeme Geldenhuys
2010-03-15Revert a old changes in TfpgWidget.HandleShow.Graeme Geldenhuys
At startup, components should be correctly handled according to their .Visible property.
2010-03-11Minor change so it can compile under Mac OS X with X11 support enabled.Graeme Geldenhuys
2010-03-11use a more accurate message name for asking to be freed.Graeme Geldenhuys
The TfpgBaseForm needs to ask fpgApplication to free it, so we now use a new, and more appropriately named, message constant.
2010-03-11Use constants instead of magic numbers for ModalResult values.Graeme Geldenhuys
2010-03-11changed some consant definitions, but values are still the same.Graeme Geldenhuys
2010-03-11Disable compiler hint for something i did for a reason.Graeme Geldenhuys
2010-03-10FPC compiler struggles with include files that don't have extensions.Graeme Geldenhuys
This issue is further complicated by Lazarus IDE. So to reduce issues, we appended the file with a .inc extension.
2010-03-10listview: fixed double buffering bug.Graeme Geldenhuys
Under Windows the issue caused the listview to stop updating. It is not recommended to paint outside the HandlePaint event handler. Painting is not guaranteed then.
2010-03-09Add missing include path for new version fileGraeme Geldenhuys
2010-03-09X11: Now fontlist returns non-scaleable fonts too.Graeme Geldenhuys
The old settings also caused applications to crash at startup. No idea why, but the new settings prevent that and gives a true full list of available fonts on the system.
2010-03-09X11: added some more Xft library constants for future use.Graeme Geldenhuys
2010-03-08Updated the various programs and fpGUI library to use the new generate ↵Graeme Geldenhuys
version file. The VERSION-GEN script generates a VERSION-FILE file which contans the version number of fpGUI. This is now used in DocView, UI Designer and other example applications too.
2010-03-08GDI: ShellExecute now uses correct application stateGraeme Geldenhuys
2010-03-08minor tweak for usage in VFDGraeme Geldenhuys