From: Robert R. <rra...@ya...> - 2000-12-05 02:34:57
|
I'm sure this has been mentioned before but here it goes again. The addCover method does not seem to work. When used, there is no change in IE 5. Also, what is the purpose of setSelectable versus addCover. In the label example it says that 2 of the labels have a cover, but there is no call to addCover, but there is one to setSelectable(). This seems like an error to me. -- // Robert Rainwater |
From: Dan S. <dy...@fu...> - 2000-12-05 03:57:53
|
The only reason "add cover" was in the original Label was to prevent the text from being selectable. A layer covering the text is one solution, however this can/should be accomplished with event handling. As far as I can tell setSelectable() works perfectly fine in Netscape. It cancels the mouse down event and stops selecting of the test. There must be an equivalent IE method to do the same. I'd prefer having the method called "setSelectable" only because it makes more sense of what it accomplishes. Dan On Mon, Dec 04, 2000 at 09:36:50PM -0500, Robert Rainwater wrote: > > I'm sure this has been mentioned before but here it goes again. > > The addCover method does not seem to work. When used, there is no > change in IE 5. Also, what is the purpose of setSelectable versus > addCover. In the label example it says that 2 of the labels have a > cover, but there is no call to addCover, but there is one to > setSelectable(). This seems like an error to me. > > -- > // Robert Rainwater > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Robert R. <rra...@ya...> - 2000-12-06 00:15:21
|
So does that me we should remove the addCover? -- // Robert Rainwater On 12/5/2000, 4:23:44 AM EST, Dan wrote about "[Dynapi-Dev] Label Cover Bug": > The only reason "add cover" was in the original Label was to prevent the text from being selectable. A layer covering the text is one solution, however this can/should be accomplished with event > handling. As far as I can tell setSelectable() works perfectly fine in Netscape. It cancels the mouse down event and stops selecting of the test. There must be an equivalent IE method to do the > same. > I'd prefer having the method called "setSelectable" only because it makes more sense of what it accomplishes. > Dan > On Mon, Dec 04, 2000 at 09:36:50PM -0500, Robert Rainwater wrote: >> >> I'm sure this has been mentioned before but here it goes again. >> >> The addCover method does not seem to work. When used, there is no >> change in IE 5. Also, what is the purpose of setSelectable versus >> addCover. In the label example it says that 2 of the labels have a >> cover, but there is no call to addCover, but there is one to >> setSelectable(). This seems like an error to me. >> >> -- >> // Robert Rainwater >> >> >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Dan S. <dy...@fu...> - 2000-12-06 02:21:13
|
Yes. AddCover == setSelectable :). Dan On Tue, Dec 05, 2000 at 07:15:57PM -0500, Robert Rainwater wrote: > > So does that me we should remove the addCover? > > -- > // Robert Rainwater > > On 12/5/2000, 4:23:44 AM EST, Dan wrote about "[Dynapi-Dev] Label Cover Bug": > > > The only reason "add cover" was in the original Label was to prevent the text from being selectable. A layer covering the text is one solution, however this can/should be accomplished with event > > handling. As far as I can tell setSelectable() works perfectly fine in Netscape. It cancels the mouse down event and stops selecting of the test. There must be an equivalent IE method to do the > > same. > > > I'd prefer having the method called "setSelectable" only because it makes more sense of what it accomplishes. > > > Dan > > > > On Mon, Dec 04, 2000 at 09:36:50PM -0500, Robert Rainwater wrote: > >> > >> I'm sure this has been mentioned before but here it goes again. > >> > >> The addCover method does not seem to work. When used, there is no > >> change in IE 5. Also, what is the purpose of setSelectable versus > >> addCover. In the label example it says that 2 of the labels have a > >> cover, but there is no call to addCover, but there is one to > >> setSelectable(). This seems like an error to me. > >> > >> -- > >> // Robert Rainwater > >> > >> > >> _______________________________________________ > >> Dynapi-Dev mailing list > >> Dyn...@li... > >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > _______________________________________________ > > Dynapi-Dev mailing list > > Dyn...@li... > > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |
From: Robert R. <rra...@ya...> - 2000-12-06 04:08:13
|
It looks like in IE (I haven't tested NS), that these events are not fired: this.selectListener.onmousemove, etc. These should be fired when you say setSelectable(false). This could be one of the problems with IE not working. -- // Robert Rainwater On 12/6/2000, 2:47:29 AM EST, Dan wrote about "[Dynapi-Dev] Label Cover Bug": > Yes. AddCover == setSelectable :). > Dan > On Tue, Dec 05, 2000 at 07:15:57PM -0500, Robert Rainwater wrote: >> >> So does that me we should remove the addCover? >> >> -- >> // Robert Rainwater >> >> On 12/5/2000, 4:23:44 AM EST, Dan wrote about "[Dynapi-Dev] Label Cover Bug": >> >> > The only reason "add cover" was in the original Label was to prevent the text from being selectable. A layer covering the text is one solution, however this can/should be accomplished with event >> > handling. As far as I can tell setSelectable() works perfectly fine in Netscape. It cancels the mouse down event and stops selecting of the test. There must be an equivalent IE method to do >> the >> > same. >> >> > I'd prefer having the method called "setSelectable" only because it makes more sense of what it accomplishes. >> >> > Dan >> >> >> > On Mon, Dec 04, 2000 at 09:36:50PM -0500, Robert Rainwater wrote: >> >> >> >> I'm sure this has been mentioned before but here it goes again. >> >> >> >> The addCover method does not seem to work. When used, there is no >> >> change in IE 5. Also, what is the purpose of setSelectable versus >> >> addCover. In the label example it says that 2 of the labels have a >> >> cover, but there is no call to addCover, but there is one to >> >> setSelectable(). This seems like an error to me. >> >> >> >> -- >> >> // Robert Rainwater >> >> >> >> >> >> _______________________________________________ >> >> Dynapi-Dev mailing list >> >> Dyn...@li... >> >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev >> > _______________________________________________ >> > Dynapi-Dev mailing list >> > Dyn...@li... >> > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev >> >> >> _______________________________________________ >> Dynapi-Dev mailing list >> Dyn...@li... >> http://lists.sourceforge.net/mailman/listinfo/dynapi-dev > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |