summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-09-22 09:01:24 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-09-22 09:01:24 +0000
commit28eac27a67f7d42a9b3987bc84718bd84f4ab619 (patch)
treecda7ef3ec9407be13bb6732c38aabf1816980767
parent56cbca949ec6d4a36e7ebec0c7c36d41ab2db3db (diff)
downloadfpGUI-28eac27a67f7d42a9b3987bc84718bd84f4ab619.tar.xz
* Add new fallback registration Calendar component.
-rw-r--r--extras/tiopf/gui/tiLogToGUI.pas5
-rw-r--r--extras/tiopf/gui/tiMediators.pas5
2 files changed, 8 insertions, 2 deletions
diff --git a/extras/tiopf/gui/tiLogToGUI.pas b/extras/tiopf/gui/tiLogToGUI.pas
index cce940d7..b43c0220 100644
--- a/extras/tiopf/gui/tiLogToGUI.pas
+++ b/extras/tiopf/gui/tiLogToGUI.pas
@@ -3,6 +3,11 @@
the -lv parameter is passed on the command line
This in normally controlled by the tiLogReg unit.
+
+ *** NOTE ***
+ If you application doesn't terminate when you activated LogToGUI, it probably
+ means a TThread.WaitFor deadlock occured. In that case, call ReleaseLog()
+ after fpgApplication.Run in you project's *.lpr file.
}
unit tiLogToGUI;
diff --git a/extras/tiopf/gui/tiMediators.pas b/extras/tiopf/gui/tiMediators.pas
index e2b11681..7a856070 100644
--- a/extras/tiopf/gui/tiMediators.pas
+++ b/extras/tiopf/gui/tiMediators.pas
@@ -206,13 +206,14 @@ const
procedure RegisterFallBackMediators;
begin
- gMediatorManager.RegisterMediator(TMediatorEditView, TtiObject, [tkSstring,tkAstring,tkinteger,tkFloat]);
+ gMediatorManager.RegisterMediator(TMediatorEditView, TtiObject, [tkSString,tkAString,tkInteger,tkFloat]);
gMediatorManager.RegisterMediator(TMediatorCheckBoxView, TtiObject, [tkBool]);
gMediatorManager.RegisterMediator(TMediatorComboboxView, TtiObject, [tkSString,tkAString]);
gMediatorManager.RegisterMediator(TMediatorStaticTextView, TtiObject);
gMediatorManager.RegisterMediator(TMediatorTrackBarView, TtiObject, [tkInteger]);
gMediatorManager.RegisterMediator(TMediatorDynamicComboBoxView, TtiObject, [tkClass]);
- gMediatorManager.RegisterMediator(TMediatorMemoView, TtiObject, [tksString,tkAString]);
+ gMediatorManager.RegisterMediator(TMediatorMemoView, TtiObject, [tkSString,tkAString]);
+ gMediatorManager.RegisterMediator(TMediatorCalendarComboView, TtiObject, [tkFloat]);
end;
{ TMediatorEditView }