summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
2011-08-24forms: HandleKeyPress() is replaced my DoKeyShortcut()Graeme Geldenhuys
This is done because DoKeyShortcut() clearly says what it does. It only processes keyboard shortcut events.
2011-08-18Added TfpgFrame to fpGUI.Graeme Geldenhuys
This is a UI Designer friendly component that allows you to embed frames "Windows" inside other windows.
2011-08-17hint window timer field variable renamed.Graeme Geldenhuys
- Renamed the timer field variable from T_Chrono to FTimer. - Renamed the OnTimer event handler from T_ChronoFini to HintTimerFired - Disabled the timer *before* hinding the hint window. This prevents those add AV's that occur when you close an application. - No need to explicityl disable the timer in HintWindow destructor. When you free a timer, it automatically gets disabled.
2011-08-04imagelist Item[] property changed to plural Items[]Graeme Geldenhuys
This is consistent with other components in the RTL, FCL and even fpGUI itself.
2011-07-28docs update mentioning support for OpenSolaris.Graeme Geldenhuys
I have successfully tested fpGUI using OpenSolaris 2010.03 (x86) using FPC 2.4.4.
2011-07-27BaseGrid and Home/End key handling and focused cells.Graeme Geldenhuys
We never used to check if we are allowed to set the FFocusCol, we just assumed we are allowed. Now we try each column while calling CanSelectCell() in each iteration so we select the first available column.
2011-07-27BaseGrid.HandleKeyPress and consume variable behaviour has changed.Graeme Geldenhuys
Old behaviour we simply forced Consumed = True and later Consumed = False. This has a very good chance of overwriting the origin consume value. We now only set consume to True, if it is really so.
2011-07-13calendar improvement: removed unnecessary drawing linesGraeme Geldenhuys
A slightly tweaked DrawButtonFace() is all that is really required.
2011-07-13changes in preparation for FPC Trunk support.Graeme Geldenhuys
Prevents a possible compiler error.
2011-07-13calendar bugfix: we excluded minyear and maxyear from valid rangeGraeme Geldenhuys
This meant that sometimes we couldn't select the desired date.
2011-07-12minor code comment for future considerationGraeme Geldenhuys
2011-07-12commented 2 line of code which really isn't needed in the menu painting processGraeme Geldenhuys
2011-07-12minor fixing of the heigh of the database selection combobox.Graeme Geldenhuys
2011-07-12Added a new Database property to the DB Login Form.Graeme Geldenhuys
this allows us easy access to what database the user selected.
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