davidizadar Posted November 13, 2015 Share Posted November 13, 2015 Hi, everyone, In standard Delphi VCL for the desktop it is possible to create new VCL visual components the easy way of the hard way. The hard way is to create everything in code and hope that it will render correctly later. You design it first and export the design to code. The easy way is to keep always everything as a RAD design. You can do that by using TFrame and converting it to a control (exposing the internal properties or hiding them), or by embedding the TFrame in the control. I'll like to use the same "easy option" with uniGUI, but I need to encapsulate the frame so that the only published and visible properties come from the control. It looks like inheriting from TUniContainerPanel could be a solution. If that is correct, where can I find some demo code for testing it? I'm interested in providing design time support for that new component, like activating a database connection and showing a live grid. Thanks, David Izada Rodriguez Link to comment Share on other sites More sharing options...
sobakava Posted November 13, 2015 Share Posted November 13, 2015 I have done it recently. I have created custom TUniFrame based compound components. I'll upload a tutorial about it soon. Link to comment Share on other sites More sharing options...
ganzqgy Posted November 14, 2015 Share Posted November 14, 2015 Waiting for you. Link to comment Share on other sites More sharing options...
sobakava Posted November 15, 2015 Share Posted November 15, 2015 there you go: http://forums.unigui.com/index.php?/topic/5982-tutorial-creating-custom-compound-components-for-unigui/ 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