I have a field name State, and I want that the value entered by the end user is force to Upper case. What would be the best approach for this?
I know I can trap the control's TextChanged event and change the value there, but I am looking for a cleaner solution at the BO level so I don't have to do the modification in all form's this field may be used.
I wish the Business Object Mapper could handle this kind things pretty much the way they handle the Trim. It looks obvious to me this could be done in the BOM as an enhancement.
#
InitializeComponent()
LoTextBox.Select(LoTextBox.Text.Length, 0)
Once again, thanks a lot for the sample code and the instructions, it does help specially when you know how to do all this in other programming tool like VFP (for over 20 years) and now learning the new stuff can be frustrating sometimes.
I will take the class approach since I want the user to see the typed character in upper case. But I am saving all other suggestions in my file bag for future use.
Once you get used to .Net it is great it just takes a little time getting over that curve, also the Fox Frameworks had many-many years to add all these nifty types of features.
Good to know I'm not alone in this boat...