mauriziodm Posted September 17, 2017 Share Posted September 17, 2017 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 More sharing options...
Administrators Farshad Mohajeri Posted September 18, 2017 Administrators Share Posted September 18, 2017 Can you send a code sample please? Link to comment Share on other sites More sharing options...
mauriziodm Posted September 18, 2017 Author Share Posted September 18, 2017 How can I send a file to the forum discussion? Link to comment Share on other sites More sharing options...
mauriziodm Posted September 18, 2017 Author Share Posted September 18, 2017 You can download an example project here: https://drive.google.com/open?id=0B-6C95AnTX62UFBvNlFUSG9LQ0E Link to comment Share on other sites More sharing options...
Davide Visconti Posted November 23, 2018 Share Posted November 23, 2018 Good morning, I have the same problem. Have you found a solution? Link to comment Share on other sites More sharing options...
Bresler Posted July 3, 2019 Share Posted July 3, 2019 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 More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now