How To Create a Listbox with Clickable Checkboxes (145728)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q145728 SUMMARY
Many Windows programs incorporate listboxes with embedded checkboxes as
part of their user interface. The References dialog in Visual Basic 4.0 is
one example of this kind of listbox. This article shows how to implement a
listbox with this functionality in Visual Basic 4.0 by using the ListView
control.
NOTE: With Visual Basic versions 5.0 and later, you can set the Style
property of the intrinsic listbox control to indicate a "CheckBox" style.
REFERENCES
Online help for ListView and ImageList controls
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbhowto KB145728 |
---|
|