SetProperty in Home doesnt Work......
#1
hello skinners,


i had a problem with a property in the onload. I use the Krypton Nightly from the 30. March and Windows 10.


i try to set a property in home.xml to refreh my content list, i mad a list in home with the favorites and the content method.

Code :

Code:
<content>$VAR[RefreshFavorites]</content>

in the variable is :

Code:
<variable name="RefreshFavorites">
    <value condition="!Window.isvisible(1199)">favourites://</value>
</variable>


to refresh an set the property i had in the home.xml in the onload :

Code:
    <onload>SetProperty(RefreshList3,1199)</onload>


and my custom_1199_update.xml :

Code:
<window type="dialog" id="1199">
<allowoverlay>no</allowoverlay>
<onload>ClearProperty(RefreshList3,Home)</onload>
<visible>!IsEmpty(Window(Home).Property(RefreshList3))</visible>
<animation effect="fade" start="100" end="0" time="0" delay="5">WindowClose</animation>
<controls></controls>
</window>


the problem is the refresh doesnt works so.... he makes nothing....

but when i make a button with the property code and click on it, he refreshes the list ...... and it works Huh

Code:
<param name="item2_onclick" value="SetProperty(RefreshList3,1199)"></param>


so, knows anybody why the onload doesnt work?
Reply

Logout Mark Read Team Forum Stats Members Help
SetProperty in Home doesnt Work......0