How to tell Delphi where it should place its automatically generated event code?

When a developer double-clicks a control event in the Object Inspector and there was no code for this event, Delphi will automatically create this event procedure declaration and its code. I would like to know how a developer can tell Delphi, or at least tell Delphi where a part of the implementation of events should be placed in the block.

When I create a block, I usually insert a predefined set of comments, and I have certain areas in the block where I add a certain type of code. At the very end of the device, I have all the automatically generated event procedures. Sometimes I understand that Delphi will continue to place the automatically generated event code at the end of the device, but sometimes it continues to place it between my own manually created procedure. I want to tell Delphi where to put it, if possible.

+4
source share
1 answer

IDE . - , IDE, . , , IDE , . , , , IDE, () , . , - .

-, . , . , , . . . . , , . , , - , , .

, , IDE , . , IDE -, , , , .

, IDE . , .

+8

Source: https://habr.com/ru/post/1621424/


All Articles