2016-07-28, 12:42
(2016-07-28, 12:35)sualfred Wrote: Just create a window property before you run the script.
DialogSelect.xml example:
Code:<controls>
<include condition="String.IsEmpty(Window(home).Property(SetUserRating))">IncludeDialogSelectDefault</include>
<include condition="String.IsEqual(Window(home).Property(SetUserRating),music)" content="IncludeDialogSelectSpecial">
<param name="DialogWidth">770</param>
<param name="LabelWidth">812</param>
<param name="IconWidth">292</param>
</include>
<include condition="String.IsEqual(Window(home).Property(SetUserRating),video)" content="IncludeDialogSelectSpecial">
<param name="DialogWidth">673</param>
<param name="LabelWidth">715</param>
<param name="IconWidth">195</param>
</include>
</controls>
Thnx sualfred I was already aware about this way of handling this.
But I was wondering if maybe there is some other built-in functionality that may not require setting and deleting a property upon loading and unloading the dialog.