Hi. it's my first VB project and I googled for couple of days seeking for full code of datagridview textbox customized as two decimal numeric control.
I try to explain myself:
1. I have datagridview created on the fly.
2. In the datagridview I have couple of columns: one is datetimepicker, couple of comboboxes and the last one I need if for two decimal numbers.
3. What I wanted from the last column (two decimal numbers) is to act like this:
a. While typing only numbers allowed.
b. To have the format two decimal numeric (1,250.25)
c. The number would be to parts (one to the left of the "." and the Other to the right) and they act exactly like datetiemepicker. I mean the "," will apear while typing in realtime and when done typing the left side all needed is to type the decimal point and automaticaly go to the right side.
I hope my description was clear enough to explain the needing.
All the explanations I have found was to make a masked textbox. (new class etc...)
Is there in the web any code ready with the solution? Or I'm the first one asking for one?
Is there any system control with the same solution (just like datetimepicker) that I might be missing?
Thanks in advance.
IHAB
I try to explain myself:
1. I have datagridview created on the fly.
2. In the datagridview I have couple of columns: one is datetimepicker, couple of comboboxes and the last one I need if for two decimal numbers.
3. What I wanted from the last column (two decimal numbers) is to act like this:
a. While typing only numbers allowed.
b. To have the format two decimal numeric (1,250.25)
c. The number would be to parts (one to the left of the "." and the Other to the right) and they act exactly like datetiemepicker. I mean the "," will apear while typing in realtime and when done typing the left side all needed is to type the decimal point and automaticaly go to the right side.
I hope my description was clear enough to explain the needing.
All the explanations I have found was to make a masked textbox. (new class etc...)
Is there in the web any code ready with the solution? Or I'm the first one asking for one?
Is there any system control with the same solution (just like datetimepicker) that I might be missing?
Thanks in advance.
IHAB