summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
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-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.
2014-07-25Set actual grid background colorJean-Marc
2014-07-23remove old code comment not needed any moreGraeme Geldenhuys
2014-07-23Set actual grid background colorJean-Marc
2014-07-21toggle: fixes minor bug where selected font isn't used.Graeme Geldenhuys
2014-07-21uidesigner: added togglebox widget to the palette barGraeme Geldenhuys
2014-07-21new ToggleBox widgetAndrew Haines
Hi I made a Togglebox widget descended from TfpgComboBox. It has button that slides side to side for checked/unchecked with a subtle animation when toggled. Various colors can be changed and the animation disabled.
2014-07-17Allows adjusting Listview's scrollbar widthJean-Marc
2014-07-17Allows adjusting Listbox's scrollbar width and pagesizeJean-Marc
2014-07-17Merge branch 'jml/integer_input_dialog' into developGraeme Geldenhuys
2014-07-17Additional integerinputquerydialogJean-Marc
Hi, For my own use, I had to create a new specific integer dialog similar to the existing inputquerydialog. Attached is the patch for it. Hope it will be usefull Regards Jean-Marc New integerinputquery dialog Signed-off-by: Jean-Marc <jmarc.levecque@dbmail.com>
2014-07-15Make clear what the default values are for two properties in TfpgImagePanelGraeme Geldenhuys
2014-07-15Removed redundant code in TfpgScrollbar.Graeme Geldenhuys
The Canvas.BeginDraw/EndDraw calls are not needed. The painting outside the HandlePaint() event was long ago fixed, but these calls were simply not removed.
2014-07-10scrollframe: code formatting and design time paintingGraeme Geldenhuys
2014-07-10Tweak so the TfpgScrollFrame can play nicer with the UI Designer.Graeme Geldenhuys
Basically it allows us to set the Content Frame after the ScrollFrame was created.
2014-06-23Added the standard copyright notice to the new unit.Graeme Geldenhuys
2014-06-23Merge remote-tracking branch 'demerson/scroll-frame' into 'develop'Graeme Geldenhuys
2014-05-08menubar: now set as a container widgetGraeme Geldenhuys
Resize messages are now propagated to the child widgets too.