System.TObject.UnitName
From RAD Studio VCL Reference
Contents |
Delphi Information
From System.pas
class function UnitName(): string;
Unit: System
Type: method
Visibility: public
Member Of: TObject
C++ Information
From System.hpp
__classmethod System::UnicodeString __fastcall UnitName(void);
Unit: System
Type: method
Visibility: public
Member Of: TObject
Description
Returns a string containing the unit name.
By default, calling UnitName on an object returns a string representing the unit name where it is contained.
For example, calling UnitName on a TButton instance returns a string containing "StdCtrls".