lzedittext.lzx
<library>
<class name="lzedittext" extends="baseedittext">
<view name="bottomright" bgcolor="0xBEBDCD" width="${parent.width}" height="${parent.height}"/>
<view name="topleft" bgcolor="0x646464" width="${parent.width-1}" height="${parent.height-1}"/>
<view name="_face" bgcolor="0xffffff" width="${parent.width-2}" height="${parent.height-2}" x="1" y="1"/>
<_newinternalinputtext name="txt" x="3" width="${parent.width - 6}" height="${parent.height}">
<method name="getPrevSelection">
if ( parent['getPrevSelection'] ) {
return parent.getPrevSelection();
}
return null; // so that default tab order occurs
</method>
<method name="getNextSelection">
if ( parent['getNextSelection'] ) return parent.getNextSelection()
return null; // so that default tab order occurs
</method>
</_newinternalinputtext>
<method name="getPrevSelection">
if ( parent['getPrevSelection'] ) {
return parent.getPrevSelection();
}
return null; // so that default tab order occurs
</method>
</class>
</library>