- Moderator
- #1
Hi
I think I may have found an easy way to make conditional imports possible.
Say, for instance you have a xml-file you would like to import in all dialogs, but only when they are called while your are in the window mytvhome.xml (window-id 1).
With my possible solution you could do this:
Or are imports cached together with the actual window?
If not, I see a lot of potential in this approach. My method would allow any existing condition to be used just like on nomal controls...
Let me hear what you think.
I think I may have found an easy way to make conditional imports possible.
Say, for instance you have a xml-file you would like to import in all dialogs, but only when they are called while your are in the window mytvhome.xml (window-id 1).
With my possible solution you could do this:
Code:
<import condition="window.isvisible(1)">yourwindow.xml</import>
Or are imports cached together with the actual window?
If not, I see a lot of potential in this approach. My method would allow any existing condition to be used just like on nomal controls...
Let me hear what you think.