We really need to clean up this interface. There is another
interface LzNode.makeChild, which is an alternative. Neither is very
pretty.
On 2006-04-11, at 09:46 EDT, John Sundman wrote:
> I've been paying attention to this thread.
>
> The fine art of creating new classes in script is, in fact, not very
> well explained in Developer's Guide. I have a JIRA task against this,
> and hope to get to it next month.
>
> In the meantime I'm happy that people are finding the information they
> need through the limited documentaton that is available and with the
> help of the community.
>
> jrs
>
> On Apr 11, 2006, at 9:36 AM, Dan Stowell wrote:
>
>>> (For the interested newbies like myself: classes have a constructor
>>> that you
>>> can use to specify the parent, and the attributes, so when I changed
>>> my call to:
>>> var v = new hrule(parent, {width: this.parent.width,
>>> bgcolor: this.linecolor});
>>> it was happy.)
>>
>> I should have read all your posts before replying to the first. John,
>> our doc guy, will be happy that you found the answer to your
>> question.
>>
>> Dan
>>
>> _______________________________________________
>> Laszlo-user mailing list
>> [email protected]
>> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
> _______________________________________________
> Laszlo-user mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user