Jump to content

Missing RTTI information


Recommended Posts

Good morning to all of you.

I'm new to uniGUI and I'm trying the trial edition.

If I have a TUniForm (TUniMainForm) with a TUniButton on it and I have decorated this button with a custom RTTI attribute and at runtime my code search for it, the attribute is not found (not exist).


What's different than a normal application? (where of course it works properly).

Is anyone able to answer me?

Many thanks.

Link to comment
Share on other sites

  • 1 year later...
  • 7 months later...


This issue still ramins. You have to change the Rtti visibility of your Forms if you want to see your custom methods, private objects or custom properties.


{$RTTI EXPLICIT METHODS([vcPrivate..vcPublished]) PROPERTIES([vcPrivate..vcPublished]) FIELDS([vcPrivate..vcPublished])}

This way everything will be visible using Rtti.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...