Home » Community » Newbie corner » Derived Layouts Show/Hide & Run/Close in the Same Window
Re: Derived Layouts Show/Hide & Run/Close in the Same Window [message #37732 is a reply to message #37712] |
Tue, 06 November 2012 19:43   |
|
Sorry nejnio,
Seems like I kind of misunderstood the problem, my mistake. Also, there were some mistakes in the code I posted, sorry for that too. I hope I got it all right this time
Attached is a code of an example application allowing to dynamically change part of your layout, while keeping the "base" constant. It is not using inheritance, so it is not really derived layouts, but the design part stays the same and the general idea of not repeating the same thing over and over in each layout holds too. I believe that you also want to keep the state of the "base part" constant when switching the "variable parts".
The general idea is same as what I proposed in my last post, showing and hiding the parts as desired. I think it is quite easy to read the code, so I won't go in to details here... If you find something unclear, just ask 
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sun Aug 24 22:27:11 CEST 2025
Total time taken to generate the page: 0.05817 seconds
|