Hi there (Again!)
Another problem with the overlapped windows.
I've tried to create a window inside a DIV. in the moment of creating it, the DIV isn't visible, so there is an exception telling "unable to do overlapped as one of its ancestors is not visible"
This the code with the bad function:
<window title="My First Window" border="normal" width="200px">
<div id="test" visible="false">
<window border="normal" title="Test overlapped" width="150px" mode="overlapped">
<label value="This is an overlapped window"/>
</window>
</div>
</window>
On the other hand i've tried this code in order to check if an overlapped window can be contained by a not visible container, in this case it works properly, so the problem is only in the creation
Code working properly:
<window title="My First Window" border="normal" width="200px">
<div id="test">
<window border="normal" title="Test overlapped" width="150px" mode="overlapped">
<label value="This is an overlapped window"/>
</window>
</div>
<button label="testMe" onClick="testMe(event)"/>
<zscript>
public void testMe(Event event) {
test.setVisible(!test.isVisible());
}
</zscript>
</window>
Thanks
Regards!
Rafael Torres
Logged In: YES
user_id=91099
Originator: NO
Fixed since 9/12