MaskedTextBox


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
I'm not sure if this is a bug or an enhancement request but the v 1.6.7 SF MaskedTextBox causes an unhandled exception when the mask is set to "". This wasn't a problem prior to 1.6.7. I have a need to set the mask property at run time depending on the data. If the data doesn't require a mask I'd like to leave it blank and just let the control render the text value.

Looking a the SF maskedtexbox class, when the mask is not set the MaskTextProvider is set to nothing and causes the unhandled exception when trying to set the renderText variable in the OnPaint method.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search