By the Way:
When is the "onprecreate" event fired for all the child
layers? It isn't fired in the "widget" tutorial (a button) but I'm missing
something!
Thanks tons and tons
Todd.
----- Original Message -----
Sent: Tuesday, October 02, 2001 5:30
PM
Subject: Re: [Dynapi-Help] Widgets
Hi,
<<Do these differences matter and where did they come
from?
AFAIK they don't matter, I think the superclass ones came from Pascal,
the others from Dan/Jordi.
<<esp. the difference between "oncreate" and "onprecreate"?
Oncreate was the original listener you could use to set propeties
dynamically.Because it took a long time to render complicated widgets to the
screen, precreation was introduced. This is basically a buffer that gathers
all childlayers, and their settings, and then writes them to the browser in
one time.
You would normally use onprecreate in new widgets.(although I actually
don't use any create listener on simple widgets)
<<Also are the gui components (like the Label) Widgets?
Have a look here if you find anything here, although there's not much in
the way of (form) gui.
Richard.
----- Original Message -----
Sent: Tuesday, October 02, 2001 10:00
PM
Subject: [Dynapi-Help] Widgets
The tutorials on widgets use "superclass" and
"onprecreate".
They don't seem to work (with 2.54) but the other widgets
I can find do seem to work.
They use "dynlayer" as the superclass (does this matter?)
and they use "oncreate" rather than "onprecreate".
Do these differences matter and where did they come
from?
esp. the difference between "oncreate" and
"onprecreate"?
Also are the gui components (like the Label)
Widgets?
Thanks,
Todd.
|