164
How can I select an item using on its full part, not only on its icon or caption

// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void __fastcall TForm1::ListBar1Click(TObject *Sender)
{
	OutputDebugString( PChar(ListBar1->ItemFromPoint[-1,-1]) );
}

ListBar1->HighlightItemType = Exlistbarlib_tlb::HighLightItemEnum::exFull | Exlistbarlib_tlb::HighLightItemEnum::exUnion;
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item <b>1</b>",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Item <b>2</b>",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;

163
Does your control support subscript or superscript, in HTML captions

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group");
	var_Group->AddItem(L"Item <b><off 4><font ;6>1",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Item <b><off 4><font ;6>2",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;

162
How do I get notified once the user selects or activates a group

// SelectGroup event - Occurs when a group is selected.
void __fastcall TForm1::ListBar1SelectGroup(TObject *Sender,Exlistbarlib_tlb::IGroup   *OldGroup,Exlistbarlib_tlb::IGroup   *NewGroup)
{
	OutputDebugString( L"Current " );
	OutputDebugString( L"NewGroup" );
	OutputDebugString( L"Previously " );
	OutputDebugString( L"OldGroup" );
}

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
Exlistbarlib_tlb::IGroupPtr var_Group1 = ListBar1->Groups->Add(L"Group 2");
	var_Group1->AddItem(L"Item 1",TNoParam());
	var_Group1->AddItem(L"Item 2",TNoParam());
Exlistbarlib_tlb::IGroupPtr var_Group2 = ListBar1->Groups->Add(L"Group 3");
	var_Group2->AddItem(L"Item 1",TNoParam());
	var_Group2->AddItem(L"Item 2",TNoParam());

161
Can I specify a different colors for groups using your EBN files

ListBar1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ListBar1->BackColorGroup = 0x1000000;
ListBar1->Groups->Add(L"Group 1");
ListBar1->Groups->Add(L"Group 2")->BackColor = 0x100aabb;
ListBar1->SelectGroup = 1;

160
Can I change the color of the control's border (EBN files)

ListBar1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ListBar1->Appearance = Exlistbarlib_tlb::AppearanceEnum(0x1aabbc8 | Exlistbarlib_tlb::AppearanceEnum::exDrop);

159
How do I specify the width of the item

ListBar1->HighlightItemType = Exlistbarlib_tlb::HighLightItemEnum::exNoHighlight;
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->ItemWidth = 32;
	var_Group->AddItem(L"0",TNoParam());
	var_Group->AddItem(L"1",TNoParam());
	var_Group->AddItem(L"2",TNoParam());
	var_Group->AddItem(L"3",TNoParam());
	var_Group->AddItem(L"4",TNoParam());
	var_Group->AddItem(L"5",TNoParam());
	var_Group->AddItem(L"6",TNoParam());
	var_Group->AddItem(L"7",TNoParam());
	var_Group->AddItem(L"8",TNoParam());
	var_Group->AddItem(L"9",TNoParam());
ListBar1->Groups->Add(L"Group 2");

158
How do I change the visual appearance of the item from the cursor, using EBN files

Exlistbarlib_tlb::IAppearancePtr var_Appearance = ListBar1->VisualAppearance;
	var_Appearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
	var_Appearance->Add(22,TVariant("c:\\exontrol\\images\\pushed.ebn"));
	var_Appearance->Add(2,TVariant("CP:22 0 8 0 -8"));
ListBar1->Background[Exlistbarlib_tlb::BackgroundPartEnum::exSelectItem] = 0x1000000;
ListBar1->Background[Exlistbarlib_tlb::BackgroundPartEnum::exHightlightItem] = 0x2000000;
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->SelectItem = 1;
ListBar1->Groups->Add(L"Group 2");

157
How do I change the visual appearance of the selected item, using EBN files

ListBar1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ListBar1->Background[Exlistbarlib_tlb::BackgroundPartEnum::exSelectItem] = 0x1000000;
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->SelectItem = 1;
ListBar1->Groups->Add(L"Group 2");

156
How do I select an item

ListBar1->SelectItemType = Exlistbarlib_tlb::SelectItemEnum::exSelectPop;
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->SelectItem = 1;
ListBar1->Groups->Add(L"Group 2");

155
How do I specify how a selected item shows

ListBar1->SelectItemType = Exlistbarlib_tlb::SelectItemEnum::exSelectPop;
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
ListBar1->Groups->Add(L"Group 2");

154
How do I select or activate a group

ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

153
Is there any option to display groups from left to right

ListBar1->Orientation = Exlistbarlib_tlb::OrientationEnum::exHorizontal;
ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

152
How do I change the foreground color of the selected group

ListBar1->MarkSelectGroup = true;
ListBar1->SelBackColorGroup = ListBar1->BackColorGroup;
ListBar1->SelForeColorGroup = RGB(255,0,0);
ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

151
How do I highlight the selected group

ListBar1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ListBar1->MarkSelectGroup = true;
ListBar1->SelBackColorGroup = 0x1000000;
ListBar1->SelForeColorGroup = RGB(0,0,0);
ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

150
How do I change the visual appearance of the selected group, using your EBN files

ListBar1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ListBar1->MarkSelectGroup = true;
ListBar1->SelBackColorGroup = 0x1000000;
ListBar1->SelForeColorGroup = RGB(0,0,0);
ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

149
How do I specify the background color for selected group

ListBar1->MarkSelectGroup = true;
ListBar1->SelBackColorGroup = RGB(255,0,0);
ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

148
How can I indent an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam())->Alignment = Exlistbarlib_tlb::AlignmentEnum::exLeft;
	Exlistbarlib_tlb::IItemPtr var_Item = var_Group->AddItem(L"Sub Item <b>1</b>",TNoParam());
		var_Item->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
		var_Item->Alignment = Exlistbarlib_tlb::AlignmentEnum::exLeft;
		var_Item->Indent = 12;
	Exlistbarlib_tlb::IItemPtr var_Item1 = var_Group->AddItem(L"Sub Item <b>2</b>",TNoParam());
		var_Item1->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
		var_Item1->Alignment = Exlistbarlib_tlb::AlignmentEnum::exLeft;
		var_Item1->Indent = 12;
	Exlistbarlib_tlb::IItemPtr var_Item2 = var_Group->AddItem(L"Sub Item <b>3</b>",TNoParam());
		var_Item2->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
		var_Item2->Alignment = Exlistbarlib_tlb::AlignmentEnum::exLeft;
		var_Item2->Indent = 12;
	Exlistbarlib_tlb::IItemPtr var_Item3 = var_Group->AddItem(L"Sub Sub Item <b>3</b>",TNoParam());
		var_Item3->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
		var_Item3->Alignment = Exlistbarlib_tlb::AlignmentEnum::exLeft;
		var_Item3->Indent = 24;
	Exlistbarlib_tlb::IItemPtr var_Item4 = var_Group->AddItem(L"Item 2",TNoParam());
		var_Item4->Alignment = Exlistbarlib_tlb::AlignmentEnum::exLeft;

147
How can I use HTML format to display my item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"<font Tahoma;11>T</font>his is an HTML <b>item</b> assigned to a <fgcolor=FF0000>group</fgcolor>",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Item 3",TNoParam());

146
How can I assign a tooltip to an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"ToolTip",TNoParam())->set_ToolTip(TVariant("This is bit of text that should appear when the cursor hovers the <b>item</b>."));
	var_Group->AddItem(L"Item 3",TNoParam());

145
How can I show or hide an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->Visible = false;
	var_Group->AddItem(L"Item 3",TNoParam());

144
How can I change the item's background color

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	Exlistbarlib_tlb::IItemPtr var_Item = var_Group->AddItem(L"Item 2",TNoParam());
		var_Item->BackColor = RGB(255,0,0);
		var_Item->BackColor2 = RGB(255,255,255);
	var_Group->AddItem(L"Item 3",TNoParam());

143
How can I change the item's background color

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"<bgcolor=FF0000>Item</bgcolor> 2",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Item 3",TNoParam());

142
How can I change the item's foreground color

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->ForeColor = RGB(255,0,0);
	var_Group->AddItem(L"Item 3",TNoParam());

141
How can I change the visual appearance of the item using your EBN files

ListBar1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->BackColor = 0x1000000;
	var_Group->AddItem(L"Item 3",TNoParam());

140
How can I change the item's background color

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->BackColor = RGB(255,0,0);
	var_Group->AddItem(L"Item 3",TNoParam());

139
How can I get the group of the item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->Group->Bold = true;
	var_Group->AddItem(L"Item 3",TNoParam());

138
How can I get the index of the item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	Exlistbarlib_tlb::IItemPtr var_Item = var_Group->AddItem(L"Item 1",TNoParam());
		var_Item->Caption = PChar(var_Item->Index);
	Exlistbarlib_tlb::IItemPtr var_Item1 = var_Group->AddItem(L"Item 2",TNoParam());
		var_Item1->Caption = PChar(var_Item1->Index);
	Exlistbarlib_tlb::IItemPtr var_Item2 = var_Group->AddItem(L"Item 3",TNoParam());
		var_Item2->Caption = PChar(var_Item2->Index);

137
How can I draw underlined an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"<u>Item</u> 2",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Item 3",TNoParam());

136
How can I draw underlined an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->Underline = true;
	var_Group->AddItem(L"Item 3",TNoParam());

135
How can I draw as strikeout an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"<s>Item</s> 2",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Item 3",TNoParam());

134
How can I draw as strikeout an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->StrikeOut = true;
	var_Group->AddItem(L"Item 3",TNoParam());

133
How can I draw as italic an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"<i>Item</i> 2",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Item 3",TNoParam());

132
How can I draw as italic an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->Italic = true;
	var_Group->AddItem(L"Item 3",TNoParam());

131
How can I add a anchor or a hyperlink

ListBar1->HighlightItemType = Exlistbarlib_tlb::HighLightItemEnum::exNoHighlight;
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Link <a1><b>1</b></a>",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Link <a2><b>2</b></a>",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;

130
How do I bold an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"<b>Item</a> 2",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Item 3",TNoParam());

129
How do I bold an item

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->Bold = true;
	var_Group->AddItem(L"Item 3",TNoParam());

128
How can I align an item

ListBar1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->ItemHeight = 28;
	var_Group->AddItem(L"Left",TVariant(1))->Alignment = Exlistbarlib_tlb::AlignmentEnum::exLeft;
	var_Group->AddItem(L"Center",TVariant(2))->Alignment = Exlistbarlib_tlb::AlignmentEnum::exCenter;
	var_Group->AddItem(L"Right",TVariant(3))->Alignment = Exlistbarlib_tlb::AlignmentEnum::exRight;
	var_Group->AddItem(L"Middle",TVariant(1))->Alignment = Exlistbarlib_tlb::AlignmentEnum::exMiddle;

127
How can I assign some extra data to an item
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam())->set_UserData(TVariant("your data"));
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->AddItem(L"Item 3",TNoParam());

126
How can I assign or display an icon for an item

ListBar1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item <img>1</img> text <img>2</img>",TNoParam())->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
	var_Group->AddItem(L"Item 2",TNoParam())->set_Image(TVariant(2));
	var_Group->AddItem(L"Item 3",TNoParam())->set_Image(TVariant(3));

125
How can I assign or display an icon for an item

ListBar1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam())->set_Image(TVariant(1));
	var_Group->AddItem(L"Item 2",TNoParam())->set_Image(TVariant(2));
	var_Group->AddItem(L"Item 3",TNoParam())->set_Image(TVariant(3));

124
How can I assign or display an icon for an item

ListBar1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TVariant(1));
	var_Group->AddItem(L"Item 2",TVariant(2));
	var_Group->AddItem(L"Item 3",TVariant(3));

123
How can I change the item's position

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->AddItem(L"Item 3",TNoParam())->Position = 0;

122
How can I change the item's caption

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam())->Caption = L"new caption";
	var_Group->AddItem(L"Item 3",TNoParam());

121
How do I add new items

ListBar1->Groups->Add(L"Group 1")->AddItem(L"Item 1",TNoParam())->Bold = true;

120
How do I assign a group to a set in the shortcut bar

ListBar1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ListBar1->ShowShortcutBar = true;
ListBar1->Groups->Add(L"Group 1")->Shortcut = L"Set <img>1</img>";
ListBar1->Groups->Add(L"Group 2")->Shortcut = L"Set <img>1</img>";
ListBar1->Groups->Add(L"Group 3")->Shortcut = L"Set <img>2</img>";
ListBar1->Groups->Add(L"Group 4")->Shortcut = L"Set <img>2</img>";

119
How can I assign a tooltip to a group

ListBar1->ToolTipDelay = 1;
ListBar1->Groups->Add(L"ToolTip")->set_ToolTip(TVariant("This is a bit of text that's shown when the cursor hovers the <b>group</b>."));

118
How can I display HTML text in the group's caption

ListBar1->GroupHeight = 44;
ListBar1->HTMLPicture[L"pic1"] = TVariant("c:\\exontrol\\images\\zipdisk.gif");
ListBar1->Images(TVariant(String("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="));
ListBar1->Groups->Add(L"<img>pic1</img> <s>HTML</s> <img>1</img> <b>format</b>")->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;

117
How can I change the group's background color ( gradient )

ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->BackColor = RGB(255,0,0);
	var_Group->BackColor2 = RGB(255,255,255);
ListBar1->Groups->Add(L"Group 3");

116
How can I specify the height of the items

ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->ItemHeight = 13;
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

115
How do I put a picture on the group's background
ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->Picture = (IPictureDisp*)(ListBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	var_Group->PictureDisplay = Exlistbarlib_tlb::PictureDisplayEnum::UpperRight;
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

114
How do I put a picture on the group's background
ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->Picture = (IPictureDisp*)(ListBar1->ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

113
How can I change the foreground color for items

ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->ForeColorList = RGB(255,0,0);
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

112
How can I change the background color for the items

ListBar1->Groups->Add(L"Group 1");
Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 2");
	var_Group->AddItem(L"Item 1",TNoParam());
	var_Group->AddItem(L"Item 2",TNoParam());
	var_Group->BackColorList = RGB(255,0,0);
ListBar1->Groups->Add(L"Group 3");
ListBar1->SelectGroup = 1;

111
How can I change the group's foreground color

ListBar1->Groups->Add(L"Group 1");
ListBar1->Groups->Add(L"<fgcolor=FF0000>Group</fgcolor> 2")->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
ListBar1->Groups->Add(L"Group 3");

110
How can I change the group's foreground color

ListBar1->Groups->Add(L"Group 1");
ListBar1->Groups->Add(L"Group 2")->ForeColor = RGB(255,0,0);
ListBar1->Groups->Add(L"Group 3");

109
How can I change the group's background color

ListBar1->Groups->Add(L"Group 1");
ListBar1->Groups->Add(L"<bgcolor=FF0000>Group</bgcolor> 2")->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;
ListBar1->Groups->Add(L"Group 3");

108
How can I change the visual appearance of the group, using EBN files

ListBar1->VisualAppearance->Add(1,TVariant("c:\\exontrol\\images\\normal.ebn"));
ListBar1->GroupAppearance = Exlistbarlib_tlb::AppearanceEnum::exSingle;
ListBar1->Groups->Add(L"Group 1");
ListBar1->Groups->Add(L"Group 2")->BackColor = 0x1000000;
ListBar1->Groups->Add(L"Group 3");

107
How can I change the group's background color

ListBar1->Groups->Add(L"Group 1");
ListBar1->Groups->Add(L"Group 2")->BackColor = RGB(255,0,0);
ListBar1->Groups->Add(L"Group 3");

106
How do I get the index of the group

Exlistbarlib_tlb::IGroupPtr var_Group = ListBar1->Groups->Add(L"Group 1");
	var_Group->Caption = PChar(var_Group->Index);
Exlistbarlib_tlb::IGroupPtr var_Group1 = ListBar1->Groups->Add(L"Group 2");
	var_Group1->Caption = PChar(var_Group1->Index);
Exlistbarlib_tlb::IGroupPtr var_Group2 = ListBar1->Groups->Add(L"Group 3");
	var_Group2->Caption = PChar(var_Group2->Index);

105
How can I underline the group's name

ListBar1->Groups->Add(L"<u>Group</u> 1")->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;

104
How can I underline the group's name

ListBar1->Groups->Add(L"Group 1");
ListBar1->Groups->Add(L"Group 2")->Underline = true;
ListBar1->Groups->Add(L"Group 3");

103
How can I show the group's name as strikeout

ListBar1->Groups->Add(L"<s>Group</s> 1")->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;

102
How can I show the group's name as strikeout

ListBar1->Groups->Add(L"Group 1");
ListBar1->Groups->Add(L"Group 2")->StrikeOut = true;
ListBar1->Groups->Add(L"Group 3");

101
How can I draw as italic the group's name

ListBar1->Groups->Add(L"<i>Group</i> 1")->CaptionFormat = Exlistbarlib_tlb::CaptionFormatEnum::exHTML;