Make a ListBox display a different tooltip for each item  
A customer required a sample that make a CheckListBox display a different tooltip for each item. We modified a sample from Aaron Young to demonstrate how to display tooltips for each item in a CheckListBox control.

You can download this sample from here.

[ 15 comments ] ( 14436 views )   |  [ 0 trackbacks ]   |  permalink  |  related link  |   ( 3 / 4838 )
How to use ItemBackColor and ItemFont properties in Visual Basic.NET 
A user asked us how to upgrade a Visual Basic 6.0 project of CheckListBox ActiveX control with ItemBackColor and ItemFont properties.

VB.NET doesn't treat ItemForeCOlor and ItemBackColor as common properties, you need use setItemForeColor or setItemBackColor method to change the fore color or back color of an item.

VB.NET program uses a complete new Font object, so you need change your code as followings.

' load in program names
lstProgram.AddItem(" " & ProListName)

lstProgram.set_ItemBackColor(lstProgram.NewIndex, &HC0FFFF)
lstProgram.set_ItemForeColor(lstProgram.NewIndex, &HFFFF00)

Dim fontFamily As New FontFamily("Arial")
Dim oldFont As Font = _
Dim fnt As New Font(fontFamily, oldFont.Size, _
oldFont.Style Or FontStyle.Bold)
lstProgram.set_ItemFont(lstProgram.NewIndex, fnt)

Please refer to following links for more details:
1) How to: Construct Font Families and Fonts
2) Font Constructor

[ 7 comments ] ( 901 views )   |  [ 0 trackbacks ]   |  permalink  |  related link  |   ( 2.9 / 600 )
FIX: CheckListBox ActiveX can't be registered 
Our customers reported our CheckListBox ActiveX can't be registered under some systems. Now, this bug is fixed. In our evaluation version, sometimes setup program will install x64 edition of chklsb26.ocx into 32-bit system directories. We update our evaluation version to fix this bug. Because no other files are updated, we don't change the version number. This bug doesn't exist in registered version and upgrade version.

Download update version of evaluation version from here .

[ 136 comments ] ( 15757 views )   |  [ 0 trackbacks ]   |  permalink  |  related link  |   ( 3 / 1956 )
CheckListBox ActiveX 2.6 SP6 is released 
Today, we release CheckListBox ActiveX 2.6 SP6.

In this version, we support Windows XP & Vista theme. The checkmark will be automatically changed with the Windows theme. Following picture shows our control under Windows Vista.

We signed .ocx file with our certificate, so Internet Explorer won't pop up an unknown publisher warning dialog.

We add x64 edition ActiveX into this version, but we don't know how many users will use it. If you require x64 edition, please let us know.

Please download the evaluation version from ... nload.html . Registered users can download upgrade version from .

[ add comment ] ( 7 views )   |  [ 0 trackbacks ]   |  permalink  |  related link  |   ( 3.1 / 1376 )
How to use CheckListBox on an MDI child form in Visual Studio 2005 
A user reported CheckListBox didn't work with an MDIChild form. Whenever the form was made a child form, the listbox would load, but all entries would appear invisible. The vertical scrollbar showed that the listbox did contain items, but the user just couldn’t see them. If removed the code that made the form a child form, everything would show up properly.

If you want use CheckListBox ActiveX on a MDI child, you must place a panel on the child form, and then place ActiveX control on the panel. Not only our control, but several ActiveX controls have such problem.

Visual Studio 2005 MDI Sample is attached.

[ 1 comment ] ( 37 views )   |  [ 0 trackbacks ]   |  permalink  |  related link  |   ( 3 / 4389 )
How to make the most recent added item visible 
One customer asked, "I am using your listcheckbox and want the most recent added item to remain visible, in other words I want the scroll bar to scroll down one automatically. How can I do This?"

To programmatically scroll your CheckListBox, you can use the TopIndex property. This property determines which entry is the first visible entry in the CheckListBox.

To make the first entry visible at the top of the ListBox, use

CheckListBox1.TopIndex = 0

You can show the last entry. Using code like this

CheckListBox1.TopIndex = CheckListBox1.ListCount - 1

will make the last entry visible, but it will be at the bottom of the ListBox, not the top.

[ 1 comment ] ( 11 views )   |  [ 0 trackbacks ]   |  permalink  |  related link  |   ( 3 / 1237 )
CheckListBox ActiveX version 2.6 SP5 is released 
A maintenance version of CheckListBox, Version 2.6 Service Pack 5, is released.

CheckListBox ActiveX Control provides support for listbox containing checkboxes, which is like the control that is built into Microsoft Word and Excel. In this control, each item's font, color, enabled and checked state can be individually modified. The control also supports 3D look, picture items and custom check mark. This package includes samples written in Visual Basic, Visual Basic .NET, Visual C#, Visual C++, Microsoft Access and Internet Explorer. CheckListBox is also called Check List.

In this version, WordWrap property is implemented. If WordWrap property is set to True, the control will automatically wraps words to the beginning of the next line when necessary. Following is snapshot of WordWrap sample.

FindString and FindStringExact methods are added, so you can easily search items in the listbox.

We also tested Visual Basic .NET, Visual C# and Visual C++ samples in Visual Studio 2005 Beta 2, and modified Prop sample and Color sample to make them compatible with this beta version.

Two small bugs are fixed:
  • Fix the bug that List Box appears without any border if the Appearance property set to claFlat(#10027).
  • Fix the bug that setting ListIndex will cause invalid property array index error in single selection mode(#10028).

    Please download full-feature evaluation version from

    Registered user can download the upgrade version from

    [ 1 comment ] ( 15 views )   |  [ 0 trackbacks ]   |  permalink  |  related link  |   ( 3 / 1214 )
    Hotfix for Appearance property 
    We confirm there is a bug that the CheckListBox control appears to no border when Appearance property is set to claFlat. This bug was introduced in the last service pack. Registered users can request the hotfix via emails.

    A supported fix is now available from Zeal SoftStudio, but it is only intended to correct the problem described in this article. Only apply it to systems that are experiencing this specific problem. This fix may receive additional testing to further ensure product quality. Therefore, if you are not severely affected by this problem, Zeal SoftStudio recommends that you wait for the next service pack that contains this fix.

    [ add comment ] ( 3 views )   |  [ 0 trackbacks ]   |  permalink  |  related link  |   ( 3 / 3521 )