<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Am 11.06.2021 um 23:48 schrieb Juha
      Manninen via lazarus:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPN1EhD39y_9Oj7JErQTZxYur47BJetoYU9csu96qE_WtUGfqw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr"><span
                    style="color:rgb(66,72,75);font-family:"Open
                    Sans";font-size:13.3333px;background-color:rgb(249,249,249)">
                    <div dir="ltr">Regarding issue : <a
                        href="https://bugs.freepascal.org/view.php?id=28450"
                        moz-do-not-send="true">https://bugs.freepascal.org/view.php?id=28450</a></div>
                    <div dir="ltr"><br>
                    </div>
                    <div dir="ltr">The parameter passed to function
                      RegisterComponents() is TComponentClass which
                      means "class of TComponent". It is only type
                      information and does not carry information about
                      sub-components.</div>
                    <div dir="ltr">Could somebody please explain how it
                      works in Delphi. Does this really work :</div>
                    <div dir="ltr">
                      <div dir="ltr">  RegisterComponents('Sample',
                        [TMyFrame]);</div>
                    </div>
                  </span></div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Yes, it does work this way. I don't know what you mean with
    "information about sub-components". The VMT vFieldTable entry
    contains all published fields of the class and thus all the sub
    controls that are visible through the RTTI and thus for the
    designer. If the IDE does not use that yet, then it definitly
    should.<br>
    <br>
    <blockquote type="cite"
cite="mid:CAPN1EhD39y_9Oj7JErQTZxYur47BJetoYU9csu96qE_WtUGfqw@mail.gmail.com">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr"><span
                    style="color:rgb(66,72,75);font-family:"Open
                    Sans";font-size:13.3333px;background-color:rgb(249,249,249)">
                    <div dir="ltr">
                      <div dir="ltr">I added a comment to the report but
                        it is old and the reporter may not read it.</div>
                    </div>
                    <div dir="ltr">Maybe there should be a new function
                      RegisterFrame() or similar?</div>
                  </span></div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    There is no need to add anything, because the necessary information
    is already there. It's just that the IDE doesn't use it yet.<br>
    <br>
    Regards,<br>
    Sven<br>
  </body>
</html>