Hello.. About the error, I don't understand why you receive that. Are you sure that the code is the problem?? I tested it and worked fine.
About using it in a common listbox, you can change it, but you will not have that event (the item check). So you will have to rely on another event but the logic could be almost the same.
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|