I'm using an UltraMaskedEdit with a mask of newmask = "444-44-AA"
When the cell is selected and the user starts typing, the cursor moves to the 8th character of the cell to accept their data entry at the appropriate location in the mask.
Unless this happens: When the cell is selected and the user starts typing, if the user types a "4" the cursor moves to the first character of this cell.
We want the cursor to move to the 8th character of this cell when the cell is selected and the user types a "4" or any other character.
I am looking for a suggestion on how I can set the editor to comply with my user's requirements, or a suggestion on a work around as my client is insisting this be fixed before close of business tomorrow......
I submitted this to a request for developer help. Here are some more details on how to reproduce.
In an UltraWinGrid, add handler for BeforeCellActivate.
In handler for BeforeCellActivate, set the editor to an instance of UltraMaskedEdit. Set the input mask to "444-44-AA"
Set ActiveCell.Activation = Activation.AllowEdit
Set the data of your grid cell to "444-44-11" It needs to match the beginning characters in the mask.
run your program. Two scenarios (Scenario #2 is the desirable action for both):
1. Activate the cell that contains value "444-44-11" for editing. Type a "4" and the cursor will be at the first character of this cell.
2. Activate the cell that contains value "444-44-11" for editing. Type a "9" and the cursor will be at the eighth character of this cell. (This is what we need for both)
Thanks for your help.
Hi,
I will be handling this issue via your support case and I will post our results to the forum thread. Thank you.
Hello,
This issue was found to be resolved in the latest service releases for NetAdvantage for Windows Forms 2008 Vol 2, 2008 Vol 3, 2009 Vol 1, and 2009 Vol 2. Thank you.