tvplanit: Add option for showing/hiding overlayed events to dayview and weekview context menu.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5145 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-09-10 17:26:42 +00:00
parent 981bf5d3a4
commit f1348844bf
12 changed files with 449 additions and 41 deletions

View File

@ -413,7 +413,8 @@ begin
datastore := VpControlLink1.Datastore;
datastore.Resources.AddResourceGroup(GROUP_NAME, [1, 2]);
if datastore.Resource <> nil then
datastore.Resource.Group := GROUP_NAME;
datastore.Resource.Group := GROUP_NAME else
datastore.Resource.Group := '';
// Important: This is not called internally so far!
datastore.RefreshEvents;
end;