RAD Studio VCL Reference
SysUtils.ufMainUnit Constant

Indicates that a unit is the main one in a project.

ufMainUnit = $01;
ufMainUnit = 0x01;

The GetPackageInfo function returns information about the units within a package. TPackageInfoProc is one of the parameters to that function : it is a callback procedure that is invoked for each unit in the package. It passes a set of flags associated with each unit.  

If the ufMainUnit is set, then the unit is a Main unit. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!