Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-05

Carbon: Enter key inserts character in Edit fields

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Tobias Giesen

Hello,

I have a problem in my application compiled with Lazarus where pressing the Enter key inserts a character (possibly #13) into the Edit field, and then it invokes the form's OK button.

Is there a way to turn this off? If it is a bug, can a Carbon developer point me in which file to look?

Cheers,
Tobias

Reply by email

Tom Gregorovic
to Tobias Giesen
Tobias Giesen wrote 9 lines
Hello, I have a problem in my application compiled with Lazarus where pressing the Enter key inserts a character (possibly #13) into the Edit field, and then it invokes the form's OK button. Is there a way to turn this off? If it is a bug, can a Carbon developer point me in which file to look?

Yes, it is a bug. I will try to find a way how to filter it.

Tom

Reply by email