From: Doug M. <do...@cr...> - 2002-05-08 19:00:08
|
I had a problem with form elements not repainting in NS.. I found that this occured most often when I was scrolling a layer containing a form. The solution is to hide then show the layer, this forces it to be redrawn by NS. //hide the layer theLayer.setVisible(false); //show the layer setTimeout("theLayer.setVisible(true);",0) So there will be a bit of a blink.. What I did was call these two line AFTER you have stopped scrolling.. This was you aren't calling it 50 times a second, which would make scrolling very slow. But when done scrolling you see a freshly repainted form. ----- Original Message ----- From: "Bhagia, Mahesh" <mah...@ge...> To: <dyn...@li...> Sent: Wednesday, May 08, 2002 7:32 AM Subject: [Dynapi-Widgetdev] Scroll Pane > Hi, > > Does anyone know / have a working example using HTML form in scrollpane, > > currently I have radio buttons, select list in a form, when I scroll, > (select list ) it doesn't redraw in NS4, > > Regards > Mahesh Bhagia > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We supply > the hardware. You get the recognition. Email Us: ban...@so... > _______________________________________________ > Dynapi-Widgetdev mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-widgetdev > |