From RAD Studio API Documentation
Jump to: navigation, search


typedef void __fastcall (__closure *TSetNameEvent)(TReader* Reader, TComponent* Component, System::UnicodeString &Name);


Type Visibility Source Unit Parent
typedef public System.Classes.hpp System.Classes System.Classes


TSetNameEvent is a procedure called by the TReader class OnSetName event.

Reader is the reader that is about to assign a name to a new component.

Component is the new component instance to which the reader is about to assign a name.

Name is the name of Component, which reader is about to set. The event handler can change this value to tell the reader to assign a different name.

TSetNameEvent is for internal use only.

See Also