Name

<< Click to Display Table of Contents >>

Navigation:  TMyShape > Properties >

Name

property Name: TComponentName;

 

Specifies the name of the component as referenced in code.

 

Description:

 

Use Name to change the name of a shape to reflect its purpose in the current application. By default, the new shape will be named "shape1","shape2", and so on.

 

Warning:

         Changing Name at runtime causes any references to the old name to become undefined. Any subsequent code that uses the old name will cause an exception.