This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.
Hai, i have questions. I have designed main template for header and footer. and the content of the body is separated. if you have tried laravel blade. you may understand what I mean.
my question :
1. can we implement general footer & header (without creating component). and put flex into the body content
2. can we get the property which flex is being shown on the screen?.
Why do you not want to use components? It is specifically designed by keeping such use cases in mind. You can create a component with a common header, footer and an empty flex container in between. A target container is like a placeholder widget if you will.
I am not sure I follow your second question. Do you want to know which flex is highlighted on the visualizer canvas when multiple flex containers are present? That is visually evident. In any case, can you please elaborate that further? If you attachments that show your problem, that will also be helpful.
I would definitely want to hear back responses to @Fvizv Kvy questions above in terms of what use cases limit you from using Components or the reason you may not want to use them in this case.
Apart from that, you can also define generic Headers (as Title Bars) and Footers (as App Menus) in your application and use the Form as a container for your body content. Not very sure if this was what you were looking for.
Each form is inherently a container in it self. You can easily get the detail of the current form being shown on the screen and retrieve the hierarchy of the widgets (children) within the form in case you do not explicitly know what widget you are looking for. In case you know what flex you are looking for, you can directly read & write on it.
Again, as @Fvizv Kvy mentioned, it will be easier if you share a use case to illustrate your requirement.