I am using Delphi 2009 and I followed the tutorial at delphi.about.com , but I could not install it.
I created an OnKeyPress / OnkeyDown event and set a breakpoint to find out if this event was fired, but it wasn’t fired in any way.
Where is the problem?
EDIT
procedure TFormMain.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin Beep; //breakpoint is set here. end;
You can try to install
Form1.KeyPreview := True;
Perhaps the event is not correctly transmitted before the form.
EDIT: after viewing the link, I think you probably did it, as it is mentioned in the article. Maybe you forgot this line?
Source: https://habr.com/ru/post/1715423/More articles:Selection and Key Features of NSTableView - objective-cHow to deselect all rows of a table in NSOutlineView when clicking into empty view space? - objective-cIs it possible to create a "two-step view" only with XSLT - xsltC # set treenode text in 2 colors - c #Как оживить многоугольник? (Читать: Анимировать контур, чтобы изменить форму) - polygonСортировка списка ссылок в grails - grailsWant to start developing iPhone - iphoneFormatting dates in C # - c #Is it possible to delete any implicitly imported Java library? - javaBuilding Ideas in Automation in an Application - .netAll Articles