Bugs item #438540, was opened at 2001-07-04 07:09
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=438540&group_id=5757

Category: DynAPI 2 Browser-Specific
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Anna Payne (ap18)
Assigned to: Nobody/Anonymous (nobody)
Summary: Form elements dissapear after scroll

Initial Comment:
I've used DynApi 2.54 in an application I'm building. 
I have a scrollpane with a form as the content. When 
scrolling through the form in Netscape(4.7), the form 
fields disappear(all other content remains) , a 
Netscape "refresh" from the main menu makes the fields 
visible again. No reload is required and the problem 
does not exist in IE.

----------------------------------------------------------------------

Comment By: Jordi Ministral (dodoron)
Date: 2001-07-04 23:44

Message:
Logged In: YES 
user_id=37801

This is a Netscape bug, not a DynAPI one. Form elements either disappear or leave a 
ghost trail behind them 
when its contained layer is moved. The only way to solve this is to force a screen 
refresh, which can be 
done this way.

Layer containing form -> l

l.setVisible(false)
setTimeout("l.setVisible(true)",0)

You will notice a small blink, but the forms will be there. Not using a timeout will 
not work, because as the 
code will be executed at once, when the rendering engine draws de screen the layer's 
visibility will be the 
same it was ( true ) and Netscape won't rerender the layer and the form.

In my IBSScroll object I made it automatic this way ( layer names may change, I don't 
remember them ):

if(is.ins4 && this.content.doc.forms.length>0) {
        this.content.setVisible(false)
        setTimeout(this.content+".setVisible(true)",0)
}


I placed this in a 'onscrollend' listener, so when the used stoped scrolling the 
contents, they were 
automatically refreshed.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=438540&group_id=5757

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to