Type | Description | |||
Boolean | A boolean expression that indicates whether the item is visible or hidden. |
The following VB sample hides the first item in the first group:
With ListBar1.Groups(0).ItemByPos(0) .Visible = False End With
The following C++ sample hides the first item in the first group:
#include "Item.h" #include "Group.h" #include "Groups.h" CGroups groups = m_listbar.GetGroups(); CGroup group = groups.GetItem( COleVariant(long(0)) ); CItem item = group.GetItemByPos( 0 ); item.SetVisible( FALSE );
The following VB.NET sample hides the first item in the first group:
With AxListBar1.Groups(0).ItemByPos(0) .Visible = False End With
The following C# sample hides the first item in the first group:
axListBar1.Groups[0].get_ItemByPos(0).Visible = false;
The following VFP sample hides the first item in the first group:
with thisform.ListBar1 with .Groups.Item(0) with .ItemByPos(0) .Visible = .f. endwith endwith endwith