D
dr.p.dietz
Hello,
i've created my own TextBox based on standard .net-Textbox
as described by MS for my own properties of the textbox
and use it in another project.
I add the tx=new MyOwnControls.OwnTextbox by code on the
form, this works with me.controls.add(tx).
But when i try to access the tx in me.controls, i receive
an error: 'System.InvalidCastException'
for each tx in me.controls <---
...
next
How can i run through myOwnControls.OwnTextboxes in Form1?
Thanks!
Peter
i've created my own TextBox based on standard .net-Textbox
as described by MS for my own properties of the textbox
and use it in another project.
I add the tx=new MyOwnControls.OwnTextbox by code on the
form, this works with me.controls.add(tx).
But when i try to access the tx in me.controls, i receive
an error: 'System.InvalidCastException'
for each tx in me.controls <---
...
next
How can i run through myOwnControls.OwnTextboxes in Form1?
Thanks!
Peter