Michael,
The control class is the base class of all controls including forms.
This property you find in all controls.(because the inherit from it)
Therefore you can do not have to cast to individual controls when you have
by instance an event that is for all controls.
Than you can do.
directcast(sender,control).backgroundimage = image.imagefromfile("blabla")
Watch that this is for a windowform control and not a web.ui.control
I hope this helps?
Cor
"Michael Turner" <fi*****@m-turner.co.uk> schreef in bericht
news:Oh**************@TK2MSFTNGP09.phx.gbl...
Anyone know how to make use of this?
http://msdn.microsoft.com/library/de...ImageTopic.asp
I cant seem to work out what to do.
Thanks Mike.