PDA

View Full Version : Combo Box Bug


gaston
01-27-2005, 12:01 PM
Hi, people.

This is my code...

<canvas>
<view>
<simplelayout axis="y" spacing="10"></simplelayout>

<combobox id="combo" editable="false">
<!--
<textlistitem text="Dark Blue" value="0x000055"/>
<textlistitem text="Turquoise" value="0x66dddd"/>
<textlistitem text="Light Blue" value="0xaaddff"/>
-->
</combobox>

<button>
<method event="onclick">
this.ComboItem(combo);
</method>

<method name="ComboItem" args="combo1">
combo1.addItem("gaston",3);
</method>
</button>
</view>


</canvas>

I can't add an item. I think this is a laszlo bug... can someone help me?

Is Laszlo a very good tool?????????????ç

Gaston.