digibrix
03-17-2004, 11:04 PM
I click on a menu link that opens the following window.. I want to click on a listitem and open up a new window as well as close the list window..
the following code was trying to just close it on click .. i am in need of help to do the two functions at once.. thanks
<window width="250" height="250" resizable="true" closeable="true" name="projectlist" visible="false" title="PROJECT LIST" style="greencolors">
<view layout="axis:y;spacing:4" width="${immediateparent.width}" clickable="true">
<list style="customlistcolors" spacing="2" bgcolor="${iceblue4}" width="${immediateparent.width}" clickable="true">
<textlistitem clickable="true">Windows XP Update</textlistitem>
<textlistitem>Windows XP Update</textlistitem>
<textlistitem>Windows XP Update</textlistitem>
<textlistitem>Windows XP Update</textlistitem>
<method event="onclick">parent.parent.close();</method>
</list>
</view>
<scrollbar/>
</window>
the following code was trying to just close it on click .. i am in need of help to do the two functions at once.. thanks
<window width="250" height="250" resizable="true" closeable="true" name="projectlist" visible="false" title="PROJECT LIST" style="greencolors">
<view layout="axis:y;spacing:4" width="${immediateparent.width}" clickable="true">
<list style="customlistcolors" spacing="2" bgcolor="${iceblue4}" width="${immediateparent.width}" clickable="true">
<textlistitem clickable="true">Windows XP Update</textlistitem>
<textlistitem>Windows XP Update</textlistitem>
<textlistitem>Windows XP Update</textlistitem>
<textlistitem>Windows XP Update</textlistitem>
<method event="onclick">parent.parent.close();</method>
</list>
</view>
<scrollbar/>
</window>