A developer asked on the forums why there wasn’t a Krypton version of the MaskedTextBox control when there was a Kryptonized TextBox and RichTextBox available in the CTP. Quite rightly they pointed out that it looked like hardly any extra work as I already had the other two in place. Well the answer is simple. I clean forgot there was a masked control in Win32. This omission has now been corrected. Here is the KryptonMaskedTextBox

If we switch the InputControlStyle to be Ribbon and set the AlwaysActive property to False then we get the following appearance instead…

As with the other input controls you can add ButtonSpec definitions so that extra buttons are added inside the border…

 

The button specs could be really handy for setting common values. You could have a button that is used to set the date to something appropriate such as ‘today’.  Another might be used clear the current value and a last one that brings up some help page information.

I have added support for adding the KryptonMaskedTextBox inside the KryptonRibbon as well…

6 Responses to “MaskedTextBox”

  1. DavidS Says:

    Will you have a spinner as well?

  2. Phil Wright Says:

    No sorry.

  3. Miketrix Says:

    Thanks for adding the MaskedTextBox control. As usual, you make Krypton Suite follow the customer’s expectations. Your Blog is just great, your forum always active, … a real pleasure for all Krypton interested folk…

    Thanks again !

    N.B.: any idea on when the next CTP (or full) release will be available ?

  4. Phil Wright Says:

    I hope there will be a Beta at the end of the week.

  5. Veusius Says:

    Hope so too

  6. Rajasekaran Says:

    i’m working C#.net windows application.. two days back i started to work in krypton tools now i have some doubt for kryptondatabgridview.. i want to show values in textbox while i’m clicking Grid values.. but not able to get .. can u tel me the way to get values in textbox

Leave a Reply