summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2011-07-12Only call btnOK event handler if we had successful authentication.Graeme Geldenhuys
This gives the user another chance to log in.
2011-06-21prevent duplicate FocusChanged events firing.Graeme Geldenhuys
Calling FollowFocus already calls CheckFocusChanged.
2011-06-20Wrap Begin/EndUpdate in try..finally blocks.Graeme Geldenhuys
This will make sure that EndUpdate is called, even if we get an error somewhere in between.
2011-06-20bug: a scrolled grid with smoothscroll enabled did not allow columns to be ↵Graeme Geldenhuys
resized. - My calculations was totally out of wack! Now it works as it should. - Also made sure scrollbars are correctly updated if Beginupdate..Endupdate is used.
2011-06-20bug: fixed grid horizontal scrollbar size when smoothscroll is enabled.Graeme Geldenhuys
The horizontal scrollbar was always the same size as the width of the grid, so it couldn't actually scroll columns.
2011-06-17Introduced a new property TfpgWindowBase.WindowStateGraeme Geldenhuys
This is an initial implementation for Linux only. Currently this property is read-only, but that alone is already very useful. Next I'll implement the Windows support, and later the read-write support.
2011-05-24User fpGUI versions of the file functions, instead of SysUtils versionGraeme Geldenhuys
2011-05-19New component TfpgReadOnly added to fpGUI.Graeme Geldenhuys
This component allows you to set all components on a form or embedded containers as ReadOnly = True/False by just toggling one property on TfpgReadOnly.
2011-05-19Added a new event OnFilenameSet to TfpgFileNameEdit widget.Graeme Geldenhuys
This event fires when we have successfully changed the name of the filename.
2011-05-19Implemented a ComboBox.ReadOnly property.Graeme Geldenhuys
2011-05-19Combobox paint optimization.Graeme Geldenhuys
We painted the background rectangle twice. So I just removed the duplicate paint code.
2011-05-19Changed hard-coded line endings to LineEnding variable.Graeme Geldenhuys
Not sure if this will break anything. I can't really see why it should.
2011-05-19Button Click function should only run if widget is enabled.Graeme Geldenhuys
2011-05-19bugfix to prement AV.Graeme Geldenhuys
The ComboBox.Checked property now fires the event even when set programmatically. So we better set the event handler AFTER we set the Checked property. This is how it is done in all other components anyway.
2011-05-19Checkbox: setting checked now fires OnChange eventGraeme Geldenhuys
Before the OnChange was not fired, but now it is. The only exception is while the widget is in the UI Designer form.
2011-05-10Fixed code formatting in TfpgHyperlink widget.Graeme Geldenhuys
Field variable prefixes must be a capital F.
2011-05-10Set correct default values for TfpgHyperlink widgetGraeme Geldenhuys
Some published properties did not have their default values set either.
2011-05-10Fixed widget commentGraeme Geldenhuys
2011-05-10In the constructor, use the property instead of the field variables.Graeme Geldenhuys
This applies to Top, Left, Width and Height properties. This will then correctly setup the internal component state for resizing.
2011-05-08Implemented some of the styling for the Motif Style.Graeme Geldenhuys
2011-05-08Removed magic numbers with GetButtonBorders() usage instead.Graeme Geldenhuys
2011-05-08added comments and fixed spelling mistakes in comments.Graeme Geldenhuys
2011-05-08globally renamed TFTextFlags to TfpgTextFlagsGraeme Geldenhuys
Somehow I forgot to rename this type when we introduced the 'fpg' prefix years ago.
2011-05-08globally renamed TFButtonFlags to TfpgButtonFlagsGraeme Geldenhuys
Somehow I forgot to rename that type name when we moved over to the 'fpg' prefix.
2011-05-06Refactored the TfpgBaseEdit to use the new style painting method.Graeme Geldenhuys
2011-05-06Skeleton style units.Graeme Geldenhuys
These will later contain the various style implementations.
2011-05-06Style Manager factory implemenationGraeme Geldenhuys
This unit contains a Style Manager that will be used to register any new styles with. It also creates a default style instance. It also allows users to change the default style any other style, or custom developed style.
2011-05-05Added empty placeholder unit back into src directory.Graeme Geldenhuys
This unit will later contain the TfpgCommonStyle (currently known as TfpgStyle) code.
2011-05-05Moved fpg_style to prototypes fpg_styler unit.Graeme Geldenhuys
This gives use the fpg_style unit in the 'gui' directory to implement styles we can actually use at this time with the existing theming code.
2011-05-04Prototype style: implemented cuPushButtonLabelGraeme Geldenhuys
This fpg_style prototype unit should really be removed. I don't like the code at all, and it isn't actually used in any of the GUI widgets yet.
2011-05-04Prototype style: implement "draw focus rect" from scratch.Graeme Geldenhuys
2011-05-04Call methods from fpgStyle directly.Graeme Geldenhuys
Seeing that we already use a few methods directly from fpgStyle, lets change all the others to be consistent.
2011-05-04Introduced the usage of fpgStyle.GetButtonShift.Graeme Geldenhuys
Custom styles can now define there own button shift values and the TfpgButton will adhere to them.
2011-05-03AText variable was never really used, so I removed it.Graeme Geldenhuys
2011-05-03promoted nested function CalculatePositions() to a method of TfpgBaseButtonGraeme Geldenhuys
2011-04-23minor TfpgEditButton improvements when used inside the UI Designer.Graeme Geldenhuys
2011-04-23new TfpgEditButton component with ellipses glyph on the button.Graeme Geldenhuys
2011-03-08Calendar Check Combo did not paint date text in correct position.Graeme Geldenhuys
Now it takes into account the height of the component and calculates the text position accordingly.
2011-03-08Combobox margin fixGraeme Geldenhuys
When painting the combobox did not take into account that the margin applies to both the left and right side of the combobox.
2011-02-07ComboBox: New Margin default 3 -> 1.Graeme Geldenhuys
The Margin is how many pixels from the internal background the text must appear. Later we will replace this with SideMargin and HeightMargin properties.
2011-02-07ComboBox: text position is now the same as TfpgEdit.Graeme Geldenhuys
We now use Canvas.DrawString() to auto calculate the text position based on the text flags passed in. This is now the same as TfpgEdit does.
2011-02-07Combobox fix: Setting the Martin cause the Height to change.Graeme Geldenhuys
Now the Height will only change if AutoSize is actually enabled.
2011-02-07HyperLink Label: published some more properties.Graeme Geldenhuys
2011-02-07Memo: SetText now assigns incoming text as is to the internal stringlist.Graeme Geldenhuys
No more manual handling of LineEnding characters etc, because StringList does that already, and our custom handling causes blank lines to disappear in the memo. Not what we want.
2011-02-02Using CreateLabel and a custom font did not resize label component correctly.Jean-Marc Levecque
2011-01-19A little tweak to allow sorting of ListViewDavid Emerson
2011-01-13tabs: When creating tabsheets, there sizes are immediately calculated.Graeme Geldenhuys
* A new constructor was also added where you can pass the tabsheet title, so tabsheet size can be better calculated if tabs are set to Left or Right.
2011-01-13button: CreateButton() helper method never called UpdateWindowPositionGraeme Geldenhuys
2011-01-13treeview: various changes due to new resizing behaviour of toolkitGraeme Geldenhuys
* Also fixed the issue where the treeview did not always display in the UI Designer. * When the treeview is in the UI Designer, then only limited painting occurs.
2011-01-13treeview: publish more properties and set default values.Graeme Geldenhuys