I agree there is little advantage in returning a string and that hadn't even occured to me. I was, of course, thinking it would return an enum such as eListBox, eButton, etc. I'm sorry if I wasn't clear about that.
Hehe, But now that I see your example it is clearly the same thing I would have done with a ControlType property. There would be no advantage in that either. What could I have been thinking? As Homer Simpson would say "Doh!".
Cheers
Hehe, But now that I see your example it is clearly the same thing I would have done with a ControlType property. There would be no advantage in that either. What could I have been thinking? As Homer Simpson would say "Doh!".

Cheers