From: Robert R. <rra...@ya...> - 2000-12-09 04:34:48
|
The cancelBrowseEvent is not even needed in the label widget for it to work correctly. The setting of the cursor (which is done too) seems to do excactly the same thing. I removed the cancelBrowseEvent in IE 5 and had no troubles with the examples. -- // 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. |