Hello,
I am relatively new to creating user controls in VB.NET. My user control consists of a textbox with its dockstyle set to fill. I am creating several properties like Text, and RightToLeft. However, they all are required to be "Overrides" and I am having issues because some are throwing an error such as:
Am I doing something wrong? What is the format for a user control? Because it is saying a lot of the properties I am trying to create for the textbox are properties for the usercontrol and that I must override them. Any help would be greatly appreciated.Code:'Public Overrides Property RightToLeft As Boolean' cannot override 'Public Overridable Property RightToLeft As System.Windows.Forms.RightToLeft' because they differ by their return types.
Thanks.




Reply With Quote
