Hello everybody,


I'm trying to achieve the following :

I have a class (bussiness layer) where I want to create a combobox in
runtime.

Public class MyClass
Private _cbo as new combobox
Public readonly property Cbo as combobox
Get
return _cbo
End get
end property

sub new
FillCombo
end sub

private sub FillCombo
... Fill my combo here ...
end sub
End Class

So I create a combobox in a seperate class.

Right now I have on my form an existing combobox called MyCombo

In my form Load I want to do the following :

Dim oMyObject as New MyClass

MyCombo = oMyObject.Cbo

So that everything's passed to my existing combo. This works fine .... only
one thing.. I don't see the values in my combobox. If I look in debugging
mode to the existing combo, then every value is passed to it (from the
class).

The only thing I can't achieve is that it all the values are showed in my
exisitng combo.

I hope someone could help me out !

Thx in advance !

Bjorn