summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-04-30Fixed resource allocation of ColorWheel.Graeme Geldenhuys
We called the image.UpdateImage to early. We are only supposed to do it after we populated the imagedata arrow with color values.
2010-04-30BaseGrid: OnRowChange and OnFocusChange does not occur.Clemens Capitain
When a grid has zero rows and you add a row, neither OnRowChange nor OnFocusChange get fired. This patch fixes this.
2010-04-29unit description update.Graeme Geldenhuys
2010-04-29Added hint directives for non-portable properties.Graeme Geldenhuys
This is simply to notify the developers when they are using a platform specific feature. Obviously this is ok and can safely be ignored if they are only developing for one platform.
2010-04-29Fixed code to remove compiler warnings/hints.Graeme Geldenhuys
2010-04-29TRGBTriple conflicts with a declaration in the Windows unit.Graeme Geldenhuys
* I introduced a new record type TFPColor (same as the declaration in the FPImage unit. I also introduced new conversion functions that work with TFPColor. * I marked the TRGBTriple type as deprecated. * I replaced all TRGBTriple usage with TFPColor.
2010-04-29New "Select Color" dialog added to fpGUI.Graeme Geldenhuys
Not 100% complete yet, but the first tab is working.
2010-04-28Remove todo items already completed.Graeme Geldenhuys
2010-04-28TfpgBaseGrid now has a new option and property: alternative colorGraeme Geldenhuys
The AlternativeBGColor property only takes affect when the go_AlternativeColor grid option is enabled. go_AlternativeColor also takes preference over ColumnBackgroundColor[]
2010-04-28TfpgBaseGrid now updated by using new predefined grid colors.Graeme Geldenhuys
2010-04-28Listbox now updated with 4 new predefined colors.Graeme Geldenhuys
2010-04-284 new predefined colors for grid usage.Graeme Geldenhuys
2010-04-26Add PopupMenu property to StringGrid.Graeme Geldenhuys
At the moment the popup menu only appears if user clicks outside the Header row. Maybe this behaviour will become user selectable in the future.
2010-04-25minor change to TfpgWidget.Graeme Geldenhuys
2010-04-25Refactored out all common code in the various composite editbutton type ↵Graeme Geldenhuys
components. We now introduced a new TfpgBaseEditButton class which contains all the common code. This greatly reduced code duplication and the amount of code needed in the FilenameEdit, DirectoryEdit and FontEdit components.
2010-04-25Publish the new OnShowHint for all other widgets in fpGUI.Graeme Geldenhuys
2010-04-25Hook the hint timer into the new OnShowHint event of TfpgWidget.Graeme Geldenhuys
2010-04-25Introduced new event for TfpgWidget called OnShowHint.Graeme Geldenhuys
This event will get fired just before a hint is displayed. You can use this this event to adjust the Hint text to make it more dynamic.
2010-04-22TfpgINIFile: Replaced standard RTL function with fpGUI wrapper version.Graeme Geldenhuys
2010-04-22New Unicode wrapper function added: fpgExtractFileExt()Graeme Geldenhuys
2010-04-21Fixed scroll buttons in PageControl when tabs are left|right positioned.Graeme Geldenhuys
2010-04-21Grids: Raised the visibility of the Font property.Graeme Geldenhuys
Now we can access the internal Font instance when we do things like custom Cell drawing etc.
2010-04-21fpg_editbtn.pas: Added ReadOnly properties to all three components.Graeme Geldenhuys
2010-04-21Edit: fixed vertical centering of text.Graeme Geldenhuys
Before we had a hard-coded top co-ordinate for the text. This caused problems when the TfpgEdit.Height was adjusted for some reason. So now we rather use the Canvas.DrawText() and give it a rectangle and text flags so text output can be calculated correctly. This is very useful for inline editing in a StringGrid. Internally Canvas.DrawText calls fpgStyle.DrawString, so custom styling should still be applied.
2010-04-21new overloaded version of PrintCoord() helper procedure.Graeme Geldenhuys
2010-04-21Grid.OnDrawCell: The drawstate set was not correctly reset after each loop.Graeme Geldenhuys
This caused the OnDrawCell AFlags variable to always contain gdSelected and gdFocused - which made OnDrawCell event handlers rather useless. This is now fixed!
2010-04-20PageControl: has a new property Options.Graeme Geldenhuys
Two new Tab Options are available, but only one is implemented so far. to_PMenuClose : Show the 'Close Tab' in popup menu to_PMenuShowAvailTabs : When implemented will list available tabs and change active tab to the selected one. By default the Options property is empty.
2010-04-20Panel/Bevel: new property ParentBackgroundColorGraeme Geldenhuys
This controls the behaviour of the BackgroundColor property.
2010-04-19Default modal forms close action to caHide like is done with standard Show.Graeme Geldenhuys
2010-04-19PageControl: New popup menu to close active tabGraeme Geldenhuys
This needs to be extended in the near future. - enable/disable this function - close active tab or tab that was clicked on - list open tabs in popup menu, so user can change to them.
2010-04-19PageControl: New OnClosingTabSheet event added.Graeme Geldenhuys
2010-04-18editbtn.pas: Fixed the positioning issue at runtime. Button was clipped.Graeme Geldenhuys
We now resize children components inside the more logical HandleResize method instead of the SetPosition method.
2010-04-18editbtn.pas: Changed class parent for Filename/Directory Edit to ↵Graeme Geldenhuys
TfpgAbstractPanel This hides properties we don't need or want. eg: Text etc.
2010-04-16edtbtn + UI Designer: Tweaked the designer look a bit more.Graeme Geldenhuys
I found that I often set preset values [Filename, Directory] and would actually like to see those values in the designer form. Now I hide the Classname and output the property content in a differnt color - this is still distinguishable from a standard Edit + Button. I use different colors for the text (not sure what else will look better)
2010-04-16TfpgFontEdit: apply a default font to the edit component text.Graeme Geldenhuys
2010-04-16Edit Button components: Improved the look in the UI Designer.Graeme Geldenhuys
2010-04-16New TfpgFontEdit component.Graeme Geldenhuys
Another composite component. TfpgEdit + TfpgButton to select a font.
2010-04-16new standard image: ellipseGraeme Geldenhuys
Using this instead of the text '...' allow developer to center the ellipse on a button.
2010-04-15TfpgDirectoryEdit: new composite component added to fpg_editbtn.pas unit.Graeme Geldenhuys
2010-04-15New standard image added: open folder with a fileGraeme Geldenhuys
2010-04-15FilenameEdit: exposed the ExtraHint property of the embedded Edit component.Graeme Geldenhuys
2010-04-15FilenameEdit: Fixed the focus issues in the Edit component part.Graeme Geldenhuys
2010-04-15FilenameEdit: Fixed image alignment on button.Graeme Geldenhuys
It is now painted true center of button.
2010-04-15FilenameEdit: Improved initial size.Graeme Geldenhuys
2010-04-15New unit fpg_editbtn.pas: Adds TfpgFileNameEdit component.Graeme Geldenhuys
2010-04-14tabs: adds support for Left/Right tab position and mouse support.Graeme Geldenhuys
The Left/Right tab look is still not pretty enough, but at least it is now functional.
2010-04-14Edit: When the component is disabled, the ExtraHint should not be shown.Graeme Geldenhuys
The old behaviour was indistinguishable between Disabled state with actual Text. So we had to modify the ExtraHint painting.
2010-04-13Edit: When setting read-only at runtime, the component never repainted itself.Graeme Geldenhuys
2010-04-13Message Dialog buttons now use translated text.Graeme Geldenhuys
Initializing the cMsgDlgBtnText when it was declared is too early and the translated strings have not yet been loaded. We we update the array a bit later to make sure it is correct.
2010-04-08X11: temporary change to allow compiling under Mac OS - experimentalGraeme Geldenhuys