EditCanceled Raised by Enter or Esc? |
Post Reply |
Author | |
MakeIt
Newbie Joined: 25 May 2009 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 25 May 2009 at 11:09am |
Hi guys,
at the Moment I make a Report Control where the user can dynamically create rows. When you click in the context menu on "New Item" it will created a new Row, the Focus jumps to a empty field in the Row and BeginEdit() will called. Now The User must enter the text for the field. My Problem is that it should be impossible to create an empty field - means pressing Enter when the field is empty should provide an error message. But both - pressing Escape or pressing Enter in a empty field will raise the EditCanceled Event (in the second case - the previewText doesn't changed) and I don't know if the User pressed Escape or if he wants to create an empty item. Have anybody a solution for this problem? Codejock Version: Xtreme Suit Pro 12.0.2 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |