Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > .NET WinForms
  New Posts New Posts RSS Feed - EditCanceled Raised by Enter or Esc?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedEditCanceled Raised by Enter or Esc?

 Post Reply Post Reply
Author
Message
MakeIt View Drop Down
Newbie
Newbie


Joined: 25 May 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote MakeIt Quote  Post ReplyReply Direct Link To This Post Topic: EditCanceled Raised by Enter or Esc?
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.