|
|
|
[
Permlink
| « Hide
]
Jim Grandy - 04/May/06 02:54 PM
Integrated to lps-3.2 as change 42019
Regress by checking to make sure floatinglist is properly registered by name in basedatacombobox. But be careful - floatinglist only exists while basedatacombobox has focus. So you could add an onfocus handler to your datacombobox instance checking that this['_cblist'] is non-null.
Test:
<canvas width="300" height="300" debug="true"> <include href="lz/datacombobox.lzx"/> <dataset name="cats"> <item value=""></item> <item value="Morris" >Morris</item> <item value="Garfield" >Garfield</item> </dataset> <datacombobox id="cbox" x="5" y="5" width="130" itemdatapath="cats:/item"> <method name="setOpen" args="open"> super.setOpen(open); if (open) { if (this._cblist.owner == this) { Debug.write("right owner"); } } </method> </datacombobox> </canvas> |
||||||||||||||||||||||||||||||||||||||||||||||||||||