summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-25parameter handling improvementsGraeme Geldenhuys
Old behaviour was that we simply assumed the first parameter will be the X11 -display parameter. This is just WRONG! We now query the parameter list for the value of -display, that's if it exists in the first place.
2011-07-23wip stashGraeme Geldenhuys
2011-07-16added timestamp varibale to Mouse Parameter record structure.Graeme Geldenhuys
This is a placeholder for future use.
2011-07-14GDI: minor change to IUnknown interface code for FPC 2.5.1 compatibilityGraeme Geldenhuys
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-07-06Numlock gets treated as a ShitfState in X11. Now disabled.Graeme Geldenhuys
See the comments in the code. This fixes lots of code that checks for the ShiftState values in key press events.
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-17gdi implementation of GetWindowStateGraeme Geldenhuys
Now we can retrieve the WindowState of TfpgForm under both Linux and Windows.
2011-06-17minor code formatting changesGraeme Geldenhuys
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-19better debug output when needed.Graeme Geldenhuys
2011-05-19This code is not needed any more, as it was meant for FPC 2.2.x versions.Graeme Geldenhuys
Code cleanup was done. After all, FPC 2.4.0 and 2.4.2 has been out for ages.
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-08Included Motif as one of the default registered styles in fpGUI.Graeme Geldenhuys
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-08Corrected the button border sizes in the common style TfpgStyleGraeme 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-06hook up the Style Manager.Graeme Geldenhuys
The fpgStyle global variable is now simply a reference to the current style in the fpgStyleManager. The Style Manager does the free'ing of the style too, so we simply need to tell the style manager when we want that done.
2011-05-06make the Style Manager available in the fpg_main unit.Graeme Geldenhuys
This is a bit of a cross-linking case, jumping from corelib code to gui code, but I can't see how this can be done any other way. After all, fpGUI is a GUI toolkit - not a non-gui utility library. For some strange reason the 'Win2000' and 'auto' did not register automatically, even though they are in the *.lpk package and in the initialization section. So I had to add that style unit to the uses clause. I need to investigate why this had to be done.
2011-05-06Just grouped the methods of TfpgStyle based on functionality and widgets.Graeme Geldenhuys
This is basically just some code formatting changes, making it easier for a developer to see what style methods related to what widgets - that's if the method names was not obvious enough. ;-)
2011-05-06Refactored the TfpgBaseEdit to use the new style painting method.Graeme Geldenhuys
2011-05-06Implemented a new style method that draws the EditBox background.Graeme Geldenhuys
This is a common style implementation - basically just paints the background a specific color. Nothing fancy.
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.