Vcl.Forms.IDesignerHook.UniqueName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function UniqueName(const BaseName: string): string;

C++

virtual System::UnicodeString __fastcall UniqueName(const System::UnicodeString BaseName) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms IDesignerHook

Description

Generates a unique name from a specified base string.

Call UniqueName to automatically generate a unique name for a component. Specify the base string for the name by the BaseName parameter. UniqueName appends a number to BaseName to ensure that there are no name-space conflicts.

See Also