Hi
I'm sure this is a simple problem ... for someone!
I have a class which exposes a property which is another object (SmartDate):
Public Property CreateDate() As SmartDate
Get
Return _CreateDate
End Get
Set(ByVal Value As SmartDate) ' this never gets called!
_CreateDate = Value
' raise an event
End Set
End Property
SmartDate is basically a clever Date class - the idea being pinched from
Rocky Lhotkas CSLA!
However, whenever I set the CreateDate it calls the Get and hands me back a
reference to my SmartDate, the properties of the SmartDate are then set and
the Set routine in my object never gets called.
What's the best way round this?
Thanks in advance! Noggin