artem_niko Posted December 7, 2022 Share Posted December 7, 2022 Hello! Actually, the question itself is: how to programmatically register the Layout.Config.Cls property for a dynamic form? I am creating a form dynamically and I need to design it beautifully, for this I need to assign it a class from my CSS that does this. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 8, 2022 Share Posted December 8, 2022 10 hours ago, artem_niko said: Actually, the question itself is: how to programmatically register the Layout.Config.Cls property for a dynamic form? Hello, And, is there an issue about using this property when creating a form dynamically? Quote Link to comment Share on other sites More sharing options...
artem_niko Posted December 8, 2022 Author Share Posted December 8, 2022 22 minutes ago, Sherzod said: Здравствуйте, И есть ли проблема с использованием этого свойства при динамическом создании формы? Well, I prescribed it like this: MyForm1.LayoutConfig:=(Parent as TUniTabSheet).LayoutConfig; because in the Css property of (Parent as TUniTabSheet).LayoutConfig has a class, but for MyForm1 it does not have the effect as for (Parent as TUniTabSheet).LayoutConfig. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.