Get value as type and fire an event

What i am trying to achieve is when a User type a numeric value in field i would like to fire an event when the length of input filed is more than 4

I have tried the keypressed , Keyreleased but no luck.

It works only when i press enter when the length of input field is 4.

How i can achieve this.

Thanks for any helps.

Sounds like you have the Defer Updates property of the component set to true. This keeps the value properties from firing updates while the user is typing, waiting until Enter is pressed.

Thanks for the input. it solves my problem.