summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2010-10-29Published the DND propertys for some of the most used components.Graeme Geldenhuys
This is so they can be tested. Once DND stabilizes, I'll make the properties available on the other components too.
2010-10-27Renamed TfpgWindowBase.DoEnabledDrops() to DoDNDEnabled()Graeme Geldenhuys
This will hopefully reduce the confusion between the other TfpgWidget.AcceptDrops property - they had too similar names. * Applied rename changes to all other descendants too * Updated DND demo project
2010-10-25Improved event firing of OnDoubleClick and OnClickGraeme Geldenhuys
* Single click produces one OnClick event * On a Double Click in produces a OnClick, then a OnDoubleClick event. Old behaviour used to procuder yet another OnClick at the end. This is not needed. * OnMouseDown and OnMouseUp events behaviour has not changed. The reason we introduce the FOnClickPending instead of fully handling the events in TfpgWidget.MsgMouseUp is because a TfpgButton has slightly different behavior (eg: When clicking on a button, keep mouse down, and move mouse out of button rectangle, then an OnClick must not fire.) The extra FOnClickPending allows us to toggle this behaviour of HandleLButtonUp (which normally fires the OnClick event)
2010-10-15BaseNumericEdit NegativeColor property was used instead of field variable.Graeme Geldenhuys
The property does more that just set the color. It calls FormatEdit, which changes the color of TextColor property. This meant the parent color was never stored in FOldColor field variable.
2010-10-15BaseNumericEdit did not specify the default property color.Graeme Geldenhuys
By defining the default color, the UI Designer can omit that line in generated code, if the color did not change.
2010-10-15fpg_edit: removed pointless property declarationsGraeme Geldenhuys
Those properties are exactly the same visibility as inherited classes, so no point in simply listing them again. TextColor was the exception, it was public, so you can't decrease the visibility in descendants.
2010-10-15memo CursorLine property improvements and sanity checksGraeme Geldenhuys
* The selection variables were not updated before * Little error checking was done, so you could get index out of bounds errors.
2010-10-15Memo: introduced a new CursorPos propertyGraeme Geldenhuys
You can now set the Cursor X position via code.
2010-10-15TfpgMemo now has BeginUpdate and EndUpdate methodsGraeme Geldenhuys
This allows you to add/delete many lines and the memo only repaints once.
2010-10-12listbox: published a few more events and the Text propertyGraeme Geldenhuys
2010-10-12listbox: Text property is now a read/write propertyGraeme Geldenhuys
2010-10-11TfpgButton: experimental feature allowing multi-line textGraeme Geldenhuys
2010-10-11Added a default parameter value for CreatePanel() functionGraeme Geldenhuys
2010-10-04Published Align property for all widgets.Graeme Geldenhuys
2010-10-04Splitter more visible in designer modeGraeme Geldenhuys
Add extra border painting so it will be more visible in the UI Designer.
2010-10-04splitter bugfix: Splitter was sometimes non-movable because FControl was nilGraeme Geldenhuys
The detection of which neighbouring control to resize was not 100% which resulted in a non-movable splitter. This is now fixed.
2010-10-04Splitter grabbar color is now a system color.Graeme Geldenhuys
2010-10-03Published OnPaint for TfpgPanel and TfpgGroupBox.Graeme Geldenhuys
2010-10-01TfpgValueBar: Set default property values.Graeme Geldenhuys
2010-10-01Color Select Dialog: the second tab for color selection has been implementedGraeme Geldenhuys
* The SelectedColor is now based on the last active tab. - If the ColorWheel was active, it takes that selected color - If the Color Palette Listbox was active, it takes that selected color.
2010-10-01TfpgSpinEdit bugfix: key up/down/pgup/pgdn never triggered the OnChange event.Graeme Geldenhuys
2010-10-01spinedit: replaced code with an existing method to do rectangle conversionGraeme Geldenhuys
2010-10-01spinedit: arrow painting used wrong button border sizeGraeme Geldenhuys
2010-10-01bugfix for ID: 3064350 from SourceForge.Graeme Geldenhuys
* A default font size is now set. * The Writeln() statement is now hidden under IFDEF's like it was supposed to be.
2010-10-01minor bugfix in TfpgBaseNumericEdit. Setting NegativeColor doesn't cause a ↵Graeme Geldenhuys
repaint
2010-10-01published Enabled property on all (most) componentsGraeme Geldenhuys
* Now the UI Designer can work with that property too * A few other components got one or two other properties published too.
2010-10-01color dialog: The PageControl and Tabsheets now have meaningful names.Graeme Geldenhuys
2010-10-01minor code formattingGraeme Geldenhuys
2010-10-01bugfix: SpinEdit sometimes caused an AV because fpgCaret could not paintGraeme Geldenhuys
2010-10-01fpg_colorwheel: Improved the look of components while on Designer Form.Graeme Geldenhuys
For speed reasons we paint a basic look of the components while busy in UI Designer.
2010-09-28memo bugfix: The 'delete' key did not work. Now it does.Graeme Geldenhuys
2010-09-27treeview: minor bugfix in the accuracy of selecting a node with the mouse.Graeme Geldenhuys
An earlier commit fixed the selected rectangle offset painting. I forgot to also fix the node selection via mouse click. They y offsets was a bit off.
2010-09-25published DND events for Button, Edit and Label components.Graeme Geldenhuys
This is just a start, so a few widgets can be tested with DND. After DND has be tested more, other widgets will get the published properties too.
2010-09-23Adds a property EnableDrops which enables DND for a top-level window.Graeme Geldenhuys
If set to False (the default), no DND can occur in that window. No OS messages for DND are processed or received.
2010-09-23memo: forgot to reset selection variables after a clipboard Cut action.Graeme Geldenhuys
2010-09-23memo: reduced code by simply using ResetSelectionVariables() instead.Graeme Geldenhuys
2010-09-23memo: Paste bugfix.Graeme Geldenhuys
Pasting text that consisted of multiple lines wasn't inserted on the correct lines. Resulting in pasted lines being in reverse order.
2010-09-23memo: ResetSelectionVariables was incomplete.Graeme Geldenhuys
2010-09-23memo: minor optimization - SomethingSelected is only called once now.Graeme Geldenhuys
2010-09-23memo: Implemented SelectionText() function.Graeme Geldenhuys
Also improved DoCopy to rather use SelectionText instead of duplicating code.
2010-09-22memo: implemented clipboard support with default popup menu support.Graeme Geldenhuys
2010-09-21panel/bevel: corrected the shadow color used in box/panel styleGraeme Geldenhuys
2010-09-21Button: Flat=True (toolbar) buttons are now painted as such in the uidesignerGraeme Geldenhuys
This makes them easily distinguishable between normal buttons.
2010-09-20KeyPress events is now distributed to Widgets, then Form, then fpgApplicationGraeme Geldenhuys
* KeyPress is first offered to the focused widget * If not consumed, then to parent, then parent.parent etc.. * if still not consumed, then to top level form * if still not consumed, then to fpgApplication If anywhere in the sequence Consumed = True, then distribution of that event is stopped. This is the basic foundation required for various keyboard shortcut handling, actions shortcut handling, and especially in menus. The latter still needs some work though.
2010-09-20TfpgMessageBox now supports font selectionGraeme Geldenhuys
* we can now adjust the font used via the FontDesc property. This is handy when using fixed width fonts and displaying quick keyboard shortcut help.
2010-09-20Set default property values for TfpgColorListBoxGraeme Geldenhuys
This affected HotTrack, PopupFrame and ColorPalette properties.
2010-09-12treeview: Adds PgUp/PgDown key handling supportGraeme Geldenhuys
2010-09-12treeview: bug fix in node painting.Graeme Geldenhuys
* fixed offset that node image was painted * fixed offset that node text was painted * fixed offset that selected node rectangle was painted
2010-09-12treeview: Mouse wheel scroll, now scrolls 1/3 of height, and not 1 pixelGraeme Geldenhuys
2010-09-12treeview: up/down scrollbar buttons now scroll one line and not one pixel.Graeme Geldenhuys