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
This commit is contained in:
wp_xxyyzz
2016-06-14 08:57:21 +00:00
parent 5b957218b4
commit ac4b3aca45

View File

@ -359,8 +359,11 @@ begin
// 'DataStore', TDataStoreProperty); // 'DataStore', TDataStoreProperty);
{register the property editor for the DataStore's DefaultAlarmWav } {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, RegisterPropertyEditor(TypeInfo(string), TVpCustomDataStore,
'DefaultEventSound', TWavFileProperty); 'DefaultEventSound', TWavFileProperty);
}
RegisterPropertyEditor (TypeInfo (TDateTime), RegisterPropertyEditor (TypeInfo (TDateTime),
TVpPrintPreview, TVpPrintPreview,