summaryrefslogtreecommitdiff
path: root/src/gui/fpg_form.pas
AgeCommit message (Collapse)Author
2012-08-28Publishes the OnMouseScroll event for various widgets.Graeme Geldenhuys
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-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.
2010-11-15Fixed compiler errors when DEBUG define is defined globally.Graeme Geldenhuys
2010-11-12Added "call stack debugging" for internal use.Graeme Geldenhuys
It's disabled by default. Enabling can be done via project level or inside each unit at the beginning of such units.
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-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-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-01Replaced debug writeln's with SendDebug() calls.Graeme Geldenhuys
2010-06-04Bumped visibility to Published for some properties.Graeme Geldenhuys
This facilitates in the loading of external form files at runtime.
2010-05-15Published some new events in TfpgForm.Graeme Geldenhuys
They were available in TfpgWidget, so why not make them available in TfpgForm as well.
2010-04-25Publish the new OnShowHint for all other widgets in fpGUI.Graeme Geldenhuys
2010-04-19Default modal forms close action to caHide like is done with standard Show.Graeme Geldenhuys
2010-04-07ModalResult changed to a enum typeGraeme Geldenhuys
* Replaced all magic number modal results with actual enum values * UI Designer now uses enum combolist for ModalResult type in Object Inspector. * UI Designer now handles default values of ModalResult property correctly.
2010-03-30Removed modal result mrError. It's not needed any more and was a bad design.Graeme Geldenhuys
2010-03-24This makes sure csLoading is still active for the current Form whenGraeme Geldenhuys
properties are populated.
2010-03-11use a more accurate message name for asking to be freed.Graeme Geldenhuys
The TfpgBaseForm needs to ask fpgApplication to free it, so we now use a new, and more appropriately named, message constant.
2010-03-11Use constants instead of magic numbers for ModalResult values.Graeme Geldenhuys
2010-02-26Update copyright notice in all units.Graeme Geldenhuys
2010-02-25Published Hint and ShowHint on all widgets.Graeme Geldenhuys
2009-11-30fixed compiler reported visibilty issues.Graeme Geldenhuys
2009-11-05More support for a help systemGraeme Geldenhuys
* Implemented InvokeHelp in TfpgWidget * implemented InvokeHelp and OnHelp event in TfpgForm * Implemented HelpConext, HelpKeyword and HelpType in TfpgComponent
2009-10-23New WindowPosition setting of wpOneThirdDown.Graeme Geldenhuys
Part of the "golden ratio" goodies. It seems to me more pleasing to the eye if a dialog is not 100% centered in the window, but rather 1/3 down of available vertical space. I think Mac OS X also does this.
2009-06-08Fixed the keyMenu handling in BasicEdit components.Graeme Geldenhuys
2008-12-09* Added fpgApplicationRemoveWindowFromModalStack so windows that are in the ↵drewski207
stach make sure to remove themselves when destroyed * Added 2 new attributes to TWindowAttributes waUnblockableMessages, waX11SkipWMHints * waUnblockableMessages is useful for allowing certain windows to still respond when other windows are modal
2008-09-29* A minor fix in ShowModal handling if an error occurs while showing - the ↵graemeg
user input could be blocked.
2008-09-27* Phase 2 of the unit rename is complete. The gui units have now been renamed.graemeg
* UI Designer has been updated to reflect the new gui unit names.