summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-04-07Localized Character Map dialogGraeme Geldenhuys
* Also added keyboard support for selecting characters.
2010-04-07New resource strings for translation.Graeme Geldenhuys
2010-04-07ModalResult changed to a enum typeGraeme Geldenhuys
* Replaced all magic number modal results with actual enum values * UI Designer now uses enum combolist for ModalResult type in Object Inspector. * UI Designer now handles default values of ModalResult property correctly.
2010-04-06version info file moved to src directory.Graeme Geldenhuys
The VERSION_FILE.inc moved from the root fpGUI directory to the src directory.
2010-04-06fpgSendMessage now calls fpgDeliverMessage() instead of .Dispatch directly.Graeme Geldenhuys
This now causes all messages to touch the fpgApplication's MessageHookList as well - if one exists.
2010-04-06Merge branch 'master' of ssh://fpgui.git.sourceforge.net/gitroot/fpgui/fpguiGraeme Geldenhuys
2010-04-06memo: Fixed deletion of selected lines.Graeme Geldenhuys
Thanks to JoshyFun <joshyfun@gmail.com> for suggestions.
2010-04-03Introduced new method fpgMatchLocale to compare passed-inGraeme Geldenhuys
locale to what fpGUI detected at startup.
2010-04-03FixLanguageIDs now also take a var paramater instead of hard-coded value.Graeme Geldenhuys
2010-04-01popup calendar: Set some extra properties for the year and month edits.Graeme Geldenhuys
New AutoSize and IgnoreMouseCursor settings applied to edtYear and edtMonth.
2010-04-01edit: Introduced a new property AutoSize.Graeme Geldenhuys
If True (default), then the Height will be adjusted based on the FontDesc being set.
2010-04-01edit: Introduced a new property IgnoreMouseCursorGraeme Geldenhuys
By default the mouse pointer changes to a I-beam when the mouse enters the TfpgEdit component. This property overrides that behaviour.
2010-03-30New "Close Button" parameter added to message dialog class functions.Graeme Geldenhuys
if a Warning message dialog was shown with Yes/No buttons, and the user canceled the dialog via Esc key or window frame X button, the dialog result is mbCancel. The ACloseButton value can now replace the default mbCancel result with whatever the user specifies. If a mbCancel button is in the AButtons set, then ACloseButton is ignored.
2010-03-30Fixed undefined modal result when message dialog is close with X button.Graeme Geldenhuys
When a message dialog was shown, mrCancel would be the modalresult if the dialog is closed with the Esc key. But the modalresult was undefined if the user closed the dialog with the window frame X button. Now mrCancel is set in both cases.
2010-03-30Replaced website address with a constant.Graeme Geldenhuys
2010-03-30Removed modal result mrError. It's not needed any more and was a bad design.Graeme Geldenhuys
2010-03-26tabs: make sure internal ActivePageIndex is still correct.Graeme Geldenhuys
2010-03-26TfpgEdit popup menu options enabled property not always set correctly.Graeme Geldenhuys
When a Edit component is ReadOnly, not all the options was correctly disabled. Also, even though Delete (clear edit contents) was disabled, it still fired when enter key selected that option. Now all this is fixed.
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