Reputation: 495
I'd like to display a red border around my masked text box when the user enters incorrect values, but there isn't a border setting for a masked text box. Does anyone have any workarounds for this?
As always, thanks for any help.
Upvotes: 0
Views: 732
Reputation: 2897
Put the textbox inside a panel and set the border of the panel, and set the Dock of the textbox to Fill.
Upvotes: 1