Show/Hide Toolbars

TMS Data Modeler Documentation

This event is fired whenever an unit is fully generated. You can use this event to do some customization to the unit after it has been generated, like adding an unit to the uses clause, add code to initialization section, etc.. Should be declared as following:

 

procedure OnUnitGenerated(Args: TUnitGeneratedArgs);
begin
end;

 

Type TUnitGeneratedArgs and has the following properties:

 

 

Property

Description

CodeUnit: TCodeUnit

The Pascal unit that has been generated.