From a64fca98305927ae2918aca7dd71af911df7f248 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Tue, 7 Jun 2016 22:34:09 +0000 Subject: [PATCH] tvplanit: Fix DataStore property combo of TDayView in object inspector (did not display the available datastores). git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4687 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/tvplanit/source/vpreg.pas | 8 ++++++-- components/tvplanit/source/vpreg.res | Bin 14484 -> 14940 bytes 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/tvplanit/source/vpreg.pas b/components/tvplanit/source/vpreg.pas index a024ca918..0fd40bbaa 100644 --- a/components/tvplanit/source/vpreg.pas +++ b/components/tvplanit/source/vpreg.pas @@ -354,9 +354,13 @@ end; RegisterPropertyEditor(TypeInfo(string), TVpBDEDataStore, 'DriverName', TDriverNameProperty); {$ENDIF} + + // LCL: Registering next property editor inhibits that the DataStore + // property combo of the DayView lists the available datastores. + {register the DayView properties } - RegisterPropertyEditor(TypeInfo(TVpCustomDataStore), TVpDayView, - 'DataStore', TDataStoreProperty); + //RegisterPropertyEditor(TypeInfo(TVpCustomDataStore), TVpDayView, + // 'DataStore', TDataStoreProperty); {register the property editor for the DataStore's DefaultAlarmWav } RegisterPropertyEditor(TypeInfo(string), TVpCustomDataStore, diff --git a/components/tvplanit/source/vpreg.res b/components/tvplanit/source/vpreg.res index 16692482b3c635c81e595bb164cae419f7b846f0..5d16d7c9eaa55bd109cd47595bd57cbf091a0cd6 100644 GIT binary patch delta 113 zcmbPIc&B8;1CGfX1o