Add a new class to your app via Project->Add Class and call it clsCboItem. Then place the class code in that module.

The other code was just an example on how to use it. You can place that in a button click event.