bghanim
Active member
Hello All,
I've created a control that inherits TextBox, and it's working correctly i.e. I can put an instance of it on the form design, and every thing is working as I need at run time.
But there's a problem with it, that I can't declare an instance of it through the code (to create a control dynamically).
dim txt as new numaricTextBox
The error is "Type Expected" and a blue line is displayed under umaricTextBox
Any help will be appreciated.
Regards,
Baha
I've created a control that inherits TextBox, and it's working correctly i.e. I can put an instance of it on the form design, and every thing is working as I need at run time.
But there's a problem with it, that I can't declare an instance of it through the code (to create a control dynamically).
dim txt as new numaricTextBox
The error is "Type Expected" and a blue line is displayed under umaricTextBox
Any help will be appreciated.
Regards,
Baha