From: Michael P. <mp...@po...> - 2001-02-26 01:14:42
check that you are using the oncreate event to access the elements on the
layer. the browser layer object is not created at the time yoyur are trying to
access it.
also, move this type of questions to the help list.
Eytan Heidingsfeld wrote:
> I'm trying to write a widget your way and am getting elm.style is undefined
> does anyone know why this would happen or do I have to track it?
> 8an
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
--
Michael Pemberton
mp...@ph...
ICQ: 12107010
From: Robert R. <rra...@ya...> - 2001-02-26 02:51:16
Yep, usually something like:
if (!this.created) return;
If you look in some of the included widgets you will see these checks
--
// Robert Rainwater
--
DynAPI Homepage: http://dynapi.sourceforge.net/
DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/
On Sunday, February 25, 2001 8:16:29 PM Michael Pemberton wrote:
> check that you are using the oncreate event to access the elements on the
> layer. the browser layer object is not created at the time yoyur are trying to
> access it.
>
> also, move this type of questions to the help list.
>
> Eytan Heidingsfeld wrote:
>
> > I'm trying to write a widget your way and am getting elm.style is undefined
> > does anyone know why this would happen or do I have to track it?
> > 8an
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > Dyn...@li...
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
> --
> Michael Pemberton
> mp...@ph...
> ICQ: 12107010
>
>
>
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
From: Michael P. <mp...@po...> - 2001-02-26 01:19:40
check that you are using the oncreate event to access the elements on
the
layer. the browser layer object is not created at the time yoyur are
trying to
access it.
also, move this type of questions to the help list.
Eytan Heidingsfeld wrote:
> I'm trying to write a widget your way and am getting elm.style is undefined
> does anyone know why this would happen or do I have to track it?
> 8an
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
--
Michael Pemberton
mp...@ph...
ICQ: 12107010