summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2015-08-31Merge branch 'jm-colorwheel' into fixes_1.4Graeme Geldenhuys
2015-08-22Minor compilation fix - differences between stable vs develop branchGraeme Geldenhuys
2015-08-22spinedit: minor code formattingGraeme Geldenhuys
2015-08-22fpg_spinedit: Introduced a new overloaded CreateSpinEdit() function.Graeme Geldenhuys
It is a bit more simplified, and only sets essential properties, leaving the rest as widget defaults.
2015-08-22SpinEdit & SpinEditFloat now has a default Height - same as TfpgEdit.Graeme Geldenhuys
2015-08-12PageControl: Implements standardised Ctrl+TAB and Ctrl+Shift+TAB shortcuts.Graeme Geldenhuys
The old shortcuts were some unique fpGUI combination which confused everybody, and didn't work so well anyway. These old ones are now removed.
2015-08-11ActiveTabColor/ActiveTabTextColor now defaults to clDefaultGraeme Geldenhuys
The problem was that if you didn't specify ActiveTab*Color values, but did specify a Tabsheet to have a different color, when that tabsheet became the active one the color changed to clWindowBackground. This looked odd. Now the ActiveTab*Color = clDefault that tabsheet will still maintain its color, even if it is a background tab or a active tab. When you assign any other color value to ActiveTab*Color (not clDefault), then they will take preference. * Also prevent an error when calling DrawTab with the ATabSheet parameter being nil * refactored some color assignment code
2015-07-11Allow tabtext color settingJean-Marc.Levecque
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
2015-07-10Add selection of predefined colors using colorlistboxJean-Marc.Levecque
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
2015-07-09Make value calculation use maximum color value as dividerJean-Marc.Levecque
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
2015-07-06Allow tabs color settingJean-Marc.Levecque
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
2015-06-18bug: OnKeyPress() keycode parameter was 0 for internally consumed keys.Graeme Geldenhuys
Arrow keys, PgUp, PgDn, Home, End, Enter, Tab, Backspace were all consumed internally and prevented the keycode from being set correctly.
2015-05-29file dialog: set button hint valuesGraeme Geldenhuys
2015-05-29dialogs: We had a SetupCaptions method, but nothing ever called it!Graeme Geldenhuys
2015-04-22Merge branch 'lkppo' into fixes_1.4Graeme Geldenhuys
2015-04-22Clean up unused local variablesGraeme Geldenhuys
2015-04-10WinCE: fixes compilation errors for WinCE-ARMGraeme Geldenhuys
* Disabled OLE support for WinCE * Disabled Drag-n-Drop support for WinCE * Fixed PChar vs PWidechar types * Fixed IFDEF's. Differences between MSWINDOWS, WINDOWS and WINCE.
2015-04-06Clean up unused local variablesStéphane Aulery
2015-04-04Crap! TRGBTripple conflicts with the Windows unit from FPC.Graeme Geldenhuys
So we have to specify the fpg_base unit so the compiler knows which structure we are refering to.
2015-03-10Removes deprecated TFPColor usageGraeme Geldenhuys
- That includes any color conversion functions - Projects using TFPColor
2015-03-05Published some mouse events for Checkbox, ComboBox, Edit, EditBtn, Listbox ↵Graeme Geldenhuys
and Memo
2015-02-28bug: Improved tokenizer to correctly extract font name for Font Dialog.Graeme Geldenhuys
Before the tokenizer didn't accept a font name that contain the @ or - symbols, thes the font name listbox never had any selection shown.
2015-02-28code formatting fixGraeme Geldenhuys
2015-02-19Removed fpgApplication.DefaultFontGraeme Geldenhuys
We really don't need yet another "default font". All references to fpgApplication.DefaultFont has been changed to fpgStyle.DefaultFont - as it should be.
2015-02-19menu: Replace font reference variable with direct fpgStyle callsGraeme Geldenhuys
If the fpgStyle changed at runtime, those font reference variables are out of scope and causes a runtime error.
2015-02-19tabs: Replace internal FFont reference variable.Graeme Geldenhuys
If the fpgStyle was changed at runtime, the FFont reference variable was out of scope and caused a runtime error. We now simply ask fpgStyle for the DefaultFont and then all is well.
2015-02-08Listview improvements.Andrew Haines
Added Listview property OnItemActivate for when an item is doubleclicked or enter is pressed for a selected item. Added Column property AutoExpand the column will use any space leftover in the listview width. Setting to True unsets the property on other columns. Added Listview property ShowFocusRect. Sets wether or not the selected item's focusrect is drawn.
2015-02-01Merge branch 'develop' of https://github.com/graemeg/fpGUI into developAndrew Haines
Fixed xml conflicts of lpi's manually Conflicts: examples/gui/filedialog/filedialog.lpi examples/gui/modalforms/modalforms.lpi
2015-02-01Changes to allow modal windows to have owners.Andrew Haines
2014-12-20color dialog: Color Picker and Hex Value editbox added.Fred van Stappen
Thanks to Fred van Stappen for the original contribution. I (Graeme) make a couple more changes, code clean-up, and dialog translation.
2014-12-19Merge remote-tracking branch 'jmarcl/editcombo' into developGraeme Geldenhuys
2014-12-18Fix bug in InternalListBoxSelectJean-Marc.Levecque
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
2014-12-13Implements custom form icon support for X11Graeme Geldenhuys
TfpgForm now has a new IconName property. Load a 16x16 image into the global fpgImages instance and use that icons name in the IconName property. Windows support is still work-in-progress.
2014-12-06Fix ColMax() calculation.Graeme Geldenhuys
When resizing the grid at runtime, the old implementation sometimes called ColumnWidth[] with a -1 index causing an AV error.
2014-12-06Add optional scrollbar stylesJean-Marc.Levecque
2014-12-06Improve horizontal srcollbar behaviourJean-Marc.Levecque
2014-12-06Allow grids scrollbarwidth settingJean-Marc.Levecque
2014-12-06Allow grids scrollbarpage settingJean-Marc.Levecque
2014-12-06Allow grids autoheight settingJean-Marc.Levecque
2014-11-10folder dialog: Seems internal TStringList.Sorted removed duplicatesGraeme Geldenhuys
eg: 'Type1' and 'type1' was considered the same directory under Linux, and only one displayed. This commit fixes the issue and now all directories are displayed.
2014-10-15Merge remote-tracking branch 'jmarc/develop' into developGraeme Geldenhuys
2014-10-15memo: added extra sanity check for EndUpdate method.Graeme Geldenhuys
2014-10-13Make the selected text in editcombo follow the theme colorJean-Marc.Levecque
Signed-off-by: Jean-Marc.Levecque <jmarc.levecque@bbox.fr>
2014-09-11Allow headerheight setting in grids.Jean-Marc.Levecque
2014-08-22Fixes bug #162 (Home/End doesn't move cell focus is smoothscroll StringGrid)Graeme Geldenhuys
2014-08-20Fix PageControl bug where left or right tabs are unresponsive to clicksGraeme 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.
2014-08-09treeview: publish the OnKeyPress and OnKeyChar eventsGraeme Geldenhuys
2014-07-29Merge branch 'release-1.2' into developGraeme Geldenhuys
So we can get the latest bug fixes in 'develop'
2014-07-29Fixes minor compilation error under FPC 2.7.1Graeme Geldenhuys
FPC Trunk is more strict with language syntax than FPC 2.6.x
2014-07-272 new units: fpg_CSVParser and fpg_StringGridBuilderGraeme Geldenhuys
fpg_CSVParser contains a class and singleton method to allow parsing CSV files. fpg_StringGridBuilder is a class that allows you to load a CSV file and automatically populate a StringGrid with its content.