Emulating ABL Numeric Formats in .Net TextBox

Posted by solvieg on 24-Feb-2011 06:09

Hi,

I have already written a couple of .Net controls for our Application but rather than reinvent the wheel, I am curious as to whether anyone has already created a Control or Class that emulates all the numeric formats and validates accordingly.

For standard formats such as 9999 I know I could utilise the MaskedTextBox

but what about formats like

>>9.99-

->>9.99

>99.99>

etc

In case anyone asks, we are not and will not be using the Infragistics Control Set .

Any advice would be greatly received.

Thanks in advance

All Replies

Posted by Admin on 24-Feb-2011 06:19

In case anyone asks, we are not and will not be using the Infragistics Control Set .

 

Just in case one asks for a solution for the Infragistics Controls, the class Consultingwerk.Util.FormatHelper contained in the WinKitLE download (http://www.consultingwerk.de/winkitle/) works in most cases. But it's creating an Infragistics InputMask.

Sorry, we've given up on MS Controls completely.

This thread is closed