How about an updateText() function added to the label widget that
would call setText().
--
// Robert Rainwater
On 12/10/2000, 5:18:11 PM EST, Scott wrote about "[Dynapi-Dev] Label text selection":
> Yeah, that's something I overlooked. setText needs to be called in
alkingbirds.com
-Original Message-
From: Robert Rainwater <[EMAIL PROTECTED]>
To: DynAPI Development List <[EMAIL PROTECTED]>
Date: Friday, December 08, 2000 9:05 PM
Subject: Re: [Dynapi-Dev] Label text selection
>
>Another problem witht the list/label widgets is the many cal
> Just changing the cursor didn't turn off selection on my IE5/Win
No, but I did allow events to take place over the text, which was the
major problem with IE.
--
// Robert Rainwater
___
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourc
> Why not just disable selection events all together. It was done in the
> dragEvent object way-back when.
> Simply put:
> if (is.ie) // Prevents text selection when dragging.
> document.onselectstart = function () { return false; };
> That stopped IE from selecting other text on the s
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 se
: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
AIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 08, 2000 6:37 PM
Subject: [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
> t
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,