Hi everyone.
I can't find a way to show or hide a group in a tadvoutlooklist at runtime.
Any ideas how to do that ?
Best regards
Hi everyone.
I can't find a way to show or hide a group in a tadvoutlooklist at runtime.
Any ideas how to do that ?
Best regards
You can use the property TOutlookGroup.Expanded: boolean to control whether a group is visible (expanded) or not.
Thx for reply (sunday)
I wish completly hide the group, even caption and item counter.
I need to have a 'global' group visible when the outlook list has more than 1 group, this global group must be hide when only 1 group.
Only 1 "real" group, first group (without caption) must not be visible
More than 1 "real" group, first group must stay visible.
Best regards
Unfortunately at this moment there is not a built-in functionality to hide a group. This would require extensions to be done in TAdvOutlookList.
OK. I will keep the "no caption" way I use :)