Главная страница | назад

Article #15740: Catching keystrokes in a TEdit

 Question and Answer Database

FAQ740C.txt   Catching keystrokes in a TEdit
Category   :VCL
Platform    :All
Product    :C++Builder  1.x


How can I filter the User input in the TEdit component?


Create and OnKeyPress handler for the TEdit and perform your 
processing. When done, you can set the Key argument to 0. 
This way, the default handler won't do anything. 

7/2/98 10:32:32 AM

Last Modified: 01-SEP-99