ChristinaSeay
Member
- Joined
- Oct 22, 2008
- Messages
- 14
- Programming Experience
- Beginner
Ok... here's my setup:
I have a custom usercontrol for a MaskedTextBox.
I have a Custom Property that I created called ErrorString. This is working fine at run time when the control is used.
What I need to be able to do is update that property on the Leave event of the usercontrol.
So:
Public Sub MaskedTextBox_Leave ..... Handles MaskedTextBox.Leave
V_ErrorString = "My error message"
End Sub
I want the custom property I created: MaskedTextBox.ErrorString = V_ErrorString
But it tells me that ErrorString is not a member of MaskedTextBox... how can I do this??
I have a custom usercontrol for a MaskedTextBox.
I have a Custom Property that I created called ErrorString. This is working fine at run time when the control is used.
What I need to be able to do is update that property on the Leave event of the usercontrol.
So:
Public Sub MaskedTextBox_Leave ..... Handles MaskedTextBox.Leave
V_ErrorString = "My error message"
End Sub
I want the custom property I created: MaskedTextBox.ErrorString = V_ErrorString
But it tells me that ErrorString is not a member of MaskedTextBox... how can I do this??