From: Robert R. <rra...@ya...> - 2000-12-09 04:54:33
|
Another problem witht the list/label widgets is the many calls to setText. In ListItem, the onmouseout and mousemouse over makes to different calls to change the font (forecolor, textcolor). Each one of these calls, calls setText which sets the html. Maybe we should pass a boolean to the font change functions, that decides whether or not to call setText. -- // Robert Rainwater On 12/8/2000, 6:37:49 PM EST, Scott wrote about "[Dynapi-Dev] Label text selection": > There's a small snag in Label. In IE, when you use setSelectable to > prevent text from being selected with the mouse, you're also cancelling > the browser event. This can also cancel events on the label itself. > For example, if you build a list item out of a label with rollover color > change events, sometimes the label text will cancel the onmouseout > event. If you mouseover the list fast enough you may end up with > several items stuck in the rollover position. This could cause problems > with other widgets that use Label. > In light of this, I'm wondering if we should restore the optional > addCover() method that uses a physical layer to cover text. If you > don't need it, just use setSelectable. |