Jump to content

Missing RTTI information


mauriziodm

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).

Why?

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...

Hi

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.

Workarround:

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

This way everything will be visible using Rtti.

 

Regards

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...