From ac4b3aca453b4c852f1e5e8939c19d7b63a09c19 Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Tue, 14 Jun 2016 08:57:21 +0000 Subject: [PATCH] tvplanit: Unregister property editor of datastore's DefaultEventSound (no platform-independent way to play sounds in design mode). git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4743 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/tvplanit/source/vpreg.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/tvplanit/source/vpreg.pas b/components/tvplanit/source/vpreg.pas index 7f6b1fd8e..43304f021 100644 --- a/components/tvplanit/source/vpreg.pas +++ b/components/tvplanit/source/vpreg.pas @@ -359,8 +359,11 @@ begin // 'DataStore', TDataStoreProperty); {register the property editor for the DataStore's DefaultAlarmWav } + { NO - not useful in design mode because there is not platform-independent way + to play the sound RegisterPropertyEditor(TypeInfo(string), TVpCustomDataStore, 'DefaultEventSound', TWavFileProperty); + } RegisterPropertyEditor (TypeInfo (TDateTime), TVpPrintPreview,