title: How to get the property type name for custom properties?
body: <p>In Delphi 2007, I added a new string type to my project:</p>
  
  <pre><code>type
    String40 = string;
  </code></pre>
  
  <p>This property is used in a class:</p>
  
  <pre><code>type
    TPerson = class
    private
      FFirstName = String40;
    published
      FirstName: string40 read FFirstName write FFirstName;
    end;
  </code></pre>
  
  <p>During runtime, I want to get the name of the property FirstName by using RTTI. I expect it to be String40:</p>
  
  <pre><code>var
    MyPropInfo: TPropInfo;
    PropTypeName: string;
    MyPerson: TPerson;
  begin
    MyPerson := TPerson.Create;
    MyPropInfo := GetPropInfo(MyPerson, 'FirstName')^;
    PropTypeName := MyPropInfo.PropType^.Name;
  </code></pre>
  
  <p>However, in this example PropTypeName is 'string'. What do I need to do get the correct property type name, 'String40'?</p>