PDA

View Full Version : Canvas loses color when drag 'n drop listitem? WT...?


michaelsica
08-15-2005, 06:49 PM
I'm experimenting with drag 'n drop on the list component, and for some reason the canvas color turns brown when you click on one of the list items.

I started by editing the code in this section of the Software Guide:

http://www.laszlosystems.com/lps-3.0/docs/guide/layout-and-design.html

See the attached file for my edits.

When you run this you can see the debugger starts with a few expections. Then when you click on an item in the list the debugger starts puking exceptions and the background color changes.

It seems to be related to the this.bringToFront() line in the showFloater method. I removed it and the debugger didn't puke exceptions or change the background color - But it didn't let me see the floating list item either. :(

Does anyone know why this is happening?

michaelsica
08-15-2005, 07:09 PM
FYI: I just tried my code in the latest nightly build. The visual problem of the background color changing is fixed, but the debugger is still spiting out a lot of exceptions.