Yes, I know how it works.
But what I try to do is give the user of the component the possibility
to take some actions, like formating or translating some strings by
implementing/handling an event.
When the user of this component chooses not to implement this, I want
the component to fall back to a default formatting.
An example:
If EventIsHandled(MyEvent) then 'just made up some syntax
RaiseEvent MyEvent(Me, New MyFormattingEventArgs(aStringToFormat))
Else
'Do the standard formatting
End If
And, by typing this, I found the solution.
I just have to put the value of Nothing into the FormattedResult of
MyFormattingEventArgs.
If it is still Nothing after RaiseEvent, the event was not handled, so I
can do the standard formatting.
Thanks for your input!