I need to make a Timage item hide or disappear after a certain key is being pressed, while the program is still running.
I know that onKeyPress method can't really make changes to the Graphic items such like Timage, so is there any other alternative ways which I could use for my situation?
Set
KeyPreviewof the form totrueand write anOnKeyPress|Down|Upevent for the form, where you hide thatTImage.