There are cases where the fontWeight won't be set back to normal. In
general, every if should have an else clause otherwise you won't reset the
The font style is correctly being returned to normal. Its the color of the font that is giving me grief. But. Thanks for the reply none the less.
Maybe it is this:
Probably shouldn't have quotes around the color value
Thanks for the reply. I have tried with and without the quotes around the color value. Same results.
Can't you do this thing?
Dispatch Mouseover event of tree when leaf is deleted from node?
My next steps would be to log trace statements as you change the styles to
make sure they are changed as expected.
After that, I would find some way to breakpoint when the situation occurs so
you can introspect the objects. One trick you might try is to add a
mouseMove handler that traces out something when the shift key is held down.
Then set a breakpoint on that trace statement. Once you replicate the
problem, hold down the shift key and wiggle the mouse and it should hit the
breakpoint and you can inspect the objects.