Top.Mail.Ru
Мастера DELPHI, Delphi programming community Титульная страница Поиск, карта сайта Написать письмо 
| Новости | Поиск | FAQ | Статьи | Книги | Новости VCL |
| Форумы ЧАТ | Орешник | KOL и MCK |
Форумы -» Основная («Начинающим»)/ Базы / WinAPI / Компоненты / Сети / Media / Игры / Corba и COM / KOL / FreePascal / .Net / Прочее / RSDN.ORG

« предыдущая ветвь | форум | следующая ветвь »

Delete key for edit box


L505 ©   (2005-08-19 19:48:00) 

Is there an option to turn on delete functionality automatically, or must you call an on keydown event for delete key with edit boxes and memos?


thaddy   (2005-08-21 10:23:00) [1]

hmmmm, strange ;)
It is really the behaveour of Windows itself! Look inside kol.pas and look inside the vcl: itis almost the same! ;)


thaddy   (2005-08-21 10:22:00) [2]

hmmmm, strange ;)
It is really the behaveour of Windows itself! Look inside kol.pas and look inside the vcl: itis almost the same! ;)


L505   (2005-08-21 07:53:00) [3]

hmmm well I was inside the edit box at the time


Thaddy   (2005-08-19 23:43:00) [4]

No, only if the edit control has not focus ;)
This is operating system behaveour, not KOL ;)


L505   (2005-08-19 23:03:00) [5]

Okay, problem solved.. I had a MainMenu Item called "delete" with a Delete key accelerator (keyboard shortcut) and this overrides normal delete key behavior in the entire application.

;)


L505   (2005-08-19 22:52:00) [6]

You are right, I tried it on a blank project.

Something must be causing an error in this particualr situation, I will have to track it down.


thaddy   (2005-08-19 22:07:00) [7]

it IS turned on automatically!


Наверх

Титульная страница Поиск, карта сайта Написать письмо