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 onEvent_Click() { ; print( exlistbar1.ItemFromPoint(-1,-1) ); } public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); exlistbar1.HighlightItemType(19/*exFull | exUnion*/); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; var_Item = COM::createFromObject(com_Group.AddItem("Item <b>1</b>")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); var_Item = COM::createFromObject(com_Group.AddItem("Item <b>2</b>")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); } |
163 |
Does your control support subscript or superscript, in HTML captions
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group"); com_Group = var_Group; var_Item = COM::createFromObject(com_Group.AddItem("Item <b><off 4><font ;6>1")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); var_Item = COM::createFromObject(com_Group.AddItem("Item <b><off 4><font ;6>2")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); } |
162 |
How do I get notified once the user selects or activates a group
// SelectGroup event - Occurs when a group is selected. void onEvent_SelectGroup(COM _OldGroup,COM _NewGroup) { ; print( "Current " ); print( _NewGroup ); print( "Previously " ); print( _OldGroup ); } public void init() { COM com_Group,com_Group1,com_Group2; anytype var_Group,var_Group1,var_Group2; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); var_Group1 = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group1 = var_Group1; com_Group1.AddItem("Item 1"); com_Group1.AddItem("Item 2"); var_Group2 = COM::createFromObject(exlistbar1.Groups()).Add("Group 3"); com_Group2 = var_Group2; com_Group2.AddItem("Item 1"); com_Group2.AddItem("Item 2"); } |
161 |
Can I specify a different colors for groups using your EBN files
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlistbar1.BackColorGroup(0x1000000); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.BackColor(0x100aabb); exlistbar1.SelectGroup(1); } |
160 |
Can I change the color of the control's border (EBN files)
public void init() { ; super(); exlistbar1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlistbar1.Appearance(27966412/*0x1aabbcc | exDrop*/); } |
159 |
How do I specify the width of the item
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.HighlightItemType(0/*exNoHighlight*/); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.ItemWidth(32); com_Group.AddItem(0); com_Group.AddItem(1); com_Group.AddItem(2); com_Group.AddItem(3); com_Group.AddItem(4); com_Group.AddItem(5); com_Group.AddItem(6); com_Group.AddItem(7); com_Group.AddItem(8); com_Group.AddItem(9); exlistbar1.Groups().Add("Group 2"); } |
158 |
How do I change the visual appearance of the item from the cursor, using EBN files
public void init() { COM com_Appearance,com_Group; anytype var_Appearance,var_Group; ; super(); var_Appearance = exlistbar1.VisualAppearance(); com_Appearance = var_Appearance; com_Appearance.Add(1,"c:\\exontrol\\images\\normal.ebn"); com_Appearance.Add(22,"c:\\exontrol\\images\\pushed.ebn"); com_Appearance.Add(2,"CP:22 0 8 0 -8"); exlistbar1.Background(4/*exSelectItem*/,0x1000000); exlistbar1.Background(5/*exHightlightItem*/,0x2000000); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); com_Group.SelectItem(1); exlistbar1.Groups().Add("Group 2"); } |
157 |
How do I change the visual appearance of the selected item, using EBN files
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlistbar1.Background(4/*exSelectItem*/,0x1000000); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); com_Group.SelectItem(1); exlistbar1.Groups().Add("Group 2"); } |
156 |
How do I select an item
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.SelectItemType(2/*exSelectPop*/); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); com_Group.SelectItem(1); exlistbar1.Groups().Add("Group 2"); } |
155 |
How do I specify how a selected item shows
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.SelectItemType(2/*exSelectPop*/); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); exlistbar1.Groups().Add("Group 2"); } |
154 |
How do I select or activate a group
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
153 |
Is there any option to display groups from left to right
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.Orientation(1/*exHorizontal*/); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
152 |
How do I change the foreground color of the selected group
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.MarkSelectGroup(true); exlistbar1.SelBackColorGroup(exlistbar1.BackColorGroup()); exlistbar1.SelForeColorGroup(WinApi::RGB2int(255,0,0)); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
151 |
How do I highlight the selected group
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlistbar1.MarkSelectGroup(true); exlistbar1.SelBackColorGroup(0x1000000); exlistbar1.SelForeColorGroup(WinApi::RGB2int(0,0,0)); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
150 |
How do I change the visual appearance of the selected group, using your EBN files
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlistbar1.MarkSelectGroup(true); exlistbar1.SelBackColorGroup(0x1000000); exlistbar1.SelForeColorGroup(WinApi::RGB2int(0,0,0)); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
149 |
How do I specify the background color for selected group
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.MarkSelectGroup(true); exlistbar1.SelBackColorGroup(WinApi::RGB2int(255,0,0)); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
148 |
How can I indent an item
public void init() { COM com_Group,com_Item,com_Item1,com_Item2,com_Item3,com_Item4; anytype var_Group,var_Item,var_Item1,var_Item2,var_Item3,var_Item4; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; var_Item = COM::createFromObject(com_Group.AddItem("Item 1")); com_Item = var_Item; com_Item.Alignment(0/*exLeft*/); var_Item = com_Group.AddItem("Sub Item <b>1</b>"); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); com_Item.Alignment(0/*exLeft*/); com_Item.Indent(12); var_Item1 = com_Group.AddItem("Sub Item <b>2</b>"); com_Item1 = var_Item1; com_Item1.CaptionFormat(1/*exHTML*/); com_Item1.Alignment(0/*exLeft*/); com_Item1.Indent(12); var_Item2 = com_Group.AddItem("Sub Item <b>3</b>"); com_Item2 = var_Item2; com_Item2.CaptionFormat(1/*exHTML*/); com_Item2.Alignment(0/*exLeft*/); com_Item2.Indent(12); var_Item3 = com_Group.AddItem("Sub Sub Item <b>3</b>"); com_Item3 = var_Item3; com_Item3.CaptionFormat(1/*exHTML*/); com_Item3.Alignment(0/*exLeft*/); com_Item3.Indent(24); var_Item4 = com_Group.AddItem("Item 2"); com_Item4 = var_Item4; com_Item4.Alignment(0/*exLeft*/); } |
147 |
How can I use HTML format to display my item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("<font Tahoma;11>T</font>his is an HTML <b>item</b> assigned to a <fgcolor=FF0000>group</fgcolor>")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); com_Group.AddItem("Item 3"); } |
146 |
How can I assign a tooltip to an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("ToolTip")); com_Item = var_Item; com_Item.ToolTip("This is bit of text that should appear when the cursor hovers the <b>item</b>."); com_Group.AddItem("Item 3"); } |
145 |
How can I show or hide an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.Visible(false); com_Group.AddItem("Item 3"); } |
144 |
How can I change the item's background color
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = com_Group.AddItem("Item 2"); com_Item = var_Item; com_Item.BackColor(WinApi::RGB2int(255,0,0)); com_Item.BackColor2(WinApi::RGB2int(255,255,255)); com_Group.AddItem("Item 3"); } |
143 |
How can I change the item's background color
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("<bgcolor=FF0000>Item</bgcolor> 2")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); com_Group.AddItem("Item 3"); } |
142 |
How can I change the item's foreground color
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.ForeColor(WinApi::RGB2int(255,0,0)); com_Group.AddItem("Item 3"); } |
141 |
How can I change the visual appearance of the item using your EBN files
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); exlistbar1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.BackColor(0x1000000); com_Group.AddItem("Item 3"); } |
140 |
How can I change the item's background color
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.BackColor(WinApi::RGB2int(255,0,0)); com_Group.AddItem("Item 3"); } |
139 |
How can I get the group of the item
public void init() { COM com_Group,com_Group1,com_Item; anytype var_Group,var_Group1,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; var_Group1 = COM::createFromObject(com_Item).Group(); com_Group1 = var_Group1; com_Group1.Bold(true); com_Group.AddItem("Item 3"); } |
138 |
How can I get the index of the item
public void init() { COM com_Group,com_Item,com_Item1,com_Item2; anytype var_Group,var_Item,var_Item1,var_Item2; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; var_Item = com_Group.AddItem("Item 1"); com_Item = var_Item; com_Item.Caption(com_Item.Index()); var_Item1 = com_Group.AddItem("Item 2"); com_Item1 = var_Item1; com_Item1.Caption(com_Item1.Index()); var_Item2 = com_Group.AddItem("Item 3"); com_Item2 = var_Item2; com_Item2.Caption(com_Item2.Index()); } |
137 |
How can I draw underlined an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("<u>Item</u> 2")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); com_Group.AddItem("Item 3"); } |
136 |
How can I draw underlined an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.Underline(true); com_Group.AddItem("Item 3"); } |
135 |
How can I draw as strikeout an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("<s>Item</s> 2")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); com_Group.AddItem("Item 3"); } |
134 |
How can I draw as strikeout an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.StrikeOut(true); com_Group.AddItem("Item 3"); } |
133 |
How can I draw as italic an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("<i>Item</i> 2")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); com_Group.AddItem("Item 3"); } |
132 |
How can I draw as italic an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.Italic(true); com_Group.AddItem("Item 3"); } |
131 |
How can I add a anchor or a hyperlink
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); exlistbar1.HighlightItemType(0/*exNoHighlight*/); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; var_Item = COM::createFromObject(com_Group.AddItem("Link <a1><b>1</b></a>")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); var_Item = COM::createFromObject(com_Group.AddItem("Link <a2><b>2</b></a>")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); } |
130 |
How do I bold an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("<b>Item</a> 2")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); com_Group.AddItem("Item 3"); } |
129 |
How do I bold an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.Bold(true); com_Group.AddItem("Item 3"); } |
128 |
How can I align an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exlistbar1.Images(COMVariant::createFromStr(var_s)); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.ItemHeight(28); var_Item = COM::createFromObject(com_Group.AddItem("Left",COMVariant::createFromInt(1))); com_Item = var_Item; com_Item.Alignment(0/*exLeft*/); var_Item = COM::createFromObject(com_Group.AddItem("Center",COMVariant::createFromInt(2))); com_Item = var_Item; com_Item.Alignment(1/*exCenter*/); var_Item = COM::createFromObject(com_Group.AddItem("Right",COMVariant::createFromInt(3))); com_Item = var_Item; com_Item.Alignment(2/*exRight*/); var_Item = COM::createFromObject(com_Group.AddItem("Middle",COMVariant::createFromInt(1))); com_Item = var_Item; com_Item.Alignment(4/*exMiddle*/); } |
127 |
How can I assign some extra data to an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; var_Item = COM::createFromObject(com_Group.AddItem("Item 1")); com_Item = var_Item; com_Item.UserData("your data"); com_Group.AddItem("Item 2"); com_Group.AddItem("Item 3"); } |
126 |
How can I assign or display an icon for an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exlistbar1.Images(COMVariant::createFromStr(var_s)); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; var_Item = COM::createFromObject(com_Group.AddItem("Item <img>1</img> text <img>2</img>")); com_Item = var_Item; com_Item.CaptionFormat(1/*exHTML*/); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.Image(COMVariant::createFromInt(2)); var_Item = COM::createFromObject(com_Group.AddItem("Item 3")); com_Item = var_Item; com_Item.Image(COMVariant::createFromInt(3)); } |
125 |
How can I assign or display an icon for an item
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exlistbar1.Images(COMVariant::createFromStr(var_s)); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; var_Item = COM::createFromObject(com_Group.AddItem("Item 1")); com_Item = var_Item; com_Item.Image(COMVariant::createFromInt(1)); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.Image(COMVariant::createFromInt(2)); var_Item = COM::createFromObject(com_Group.AddItem("Item 3")); com_Item = var_Item; com_Item.Image(COMVariant::createFromInt(3)); } |
124 |
How can I assign or display an icon for an item
public void init() { COM com_Group; anytype var_Group; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exlistbar1.Images(COMVariant::createFromStr(var_s)); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1",COMVariant::createFromInt(1)); com_Group.AddItem("Item 2",COMVariant::createFromInt(2)); com_Group.AddItem("Item 3",COMVariant::createFromInt(3)); } |
123 |
How can I change the item's position
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); var_Item = COM::createFromObject(com_Group.AddItem("Item 3")); com_Item = var_Item; com_Item.Position(0); } |
122 |
How can I change the item's caption
public void init() { COM com_Group,com_Item; anytype var_Group,var_Item; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.AddItem("Item 1"); var_Item = COM::createFromObject(com_Group.AddItem("Item 2")); com_Item = var_Item; com_Item.Caption("new caption"); com_Group.AddItem("Item 3"); } |
121 |
How do I add new items
|
120 |
How do I assign a group to a set in the shortcut bar
public void init() { COM com_Group; anytype var_Group; str var_s; ; super(); var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"; var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"; var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"; var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="; exlistbar1.Images(COMVariant::createFromStr(var_s)); exlistbar1.ShowShortcutBar(true); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.Shortcut("Set <img>1</img>"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.Shortcut("Set <img>1</img>"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 3"); com_Group = var_Group; com_Group.Shortcut("Set <img>2</img>"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 4"); com_Group = var_Group; com_Group.Shortcut("Set <img>2</img>"); } |
119 |
How can I assign a tooltip to a group
|
118 |
How can I display HTML text in the group's caption
|
117 |
How can I change the group's background color ( gradient )
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.BackColor(WinApi::RGB2int(255,0,0)); com_Group.BackColor2(WinApi::RGB2int(255,255,255)); exlistbar1.Groups().Add("Group 3"); } |
116 |
How can I specify the height of the items
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); com_Group.ItemHeight(13); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
115 |
How do I put a picture on the group's background
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); com_Group.Picture(exlistbar1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); com_Group.PictureDisplay(2/*UpperRight*/); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
114 |
How do I put a picture on the group's background
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); com_Group.Picture(exlistbar1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)")); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
113 |
How can I change the foreground color for items
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); com_Group.ForeColorList(WinApi::RGB2int(255,0,0)); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
112 |
How can I change the background color for the items
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.AddItem("Item 1"); com_Group.AddItem("Item 2"); com_Group.BackColorList(WinApi::RGB2int(255,0,0)); exlistbar1.Groups().Add("Group 3"); exlistbar1.SelectGroup(1); } |
111 |
How can I change the group's foreground color
|
110 |
How can I change the group's foreground color
|
109 |
How can I change the group's background color
|
108 |
How can I change the visual appearance of the group, using EBN files
public void init() { COM com_Group; anytype var_Group; ; super(); exlistbar1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn"); exlistbar1.GroupAppearance(1/*exSingle*/); exlistbar1.Groups().Add("Group 1"); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group = var_Group; com_Group.BackColor(0x1000000); exlistbar1.Groups().Add("Group 3"); } |
107 |
How can I change the group's background color
|
106 |
How do I get the index of the group
public void init() { COM com_Group,com_Group1,com_Group2; anytype var_Group,var_Group1,var_Group2; ; super(); var_Group = COM::createFromObject(exlistbar1.Groups()).Add("Group 1"); com_Group = var_Group; com_Group.Caption(com_Group.Index()); var_Group1 = COM::createFromObject(exlistbar1.Groups()).Add("Group 2"); com_Group1 = var_Group1; com_Group1.Caption(com_Group1.Index()); var_Group2 = COM::createFromObject(exlistbar1.Groups()).Add("Group 3"); com_Group2 = var_Group2; com_Group2.Caption(com_Group2.Index()); } |
105 |
How can I underline the group's name
|
104 |
How can I underline the group's name
|
103 |
How can I show the group's name as strikeout
|
102 |
How can I show the group's name as strikeout
|
101 |
How can I draw as italic the group's name
|