TextArea.KeyDown Event not having any Key result


I’m trying to detect when the enter key was pressed on a text area and it seems that on any tests that I do the Key property is always empty.

Any idea if that is a bug or not ?


Where are you trying to get the key ?

in the KEYDOWN event

if key=ChrB(13) or key=ChrB(3) then //// you pressed ENTER or RETURN