NetSunset
07-07-2005, 06:37 AM
Hi
I need a tip to make a dropshadow effect with a view.
Here's my code but it doesn't work.
If someone could give this help.
<view id="item" y="10" x="10" height="25" width="500"
datapath="dset:/tracing[1]/commande"
bgcolor="white">
<view x="8" y="8" height="25" width="500"
name="Shadow" bgcolor="black" opacity=".2">
<method event="onapply">
item.bringToFront();
</method>
<simplelayout axis="x"/>
<text datapath="ncde/text()"/>
<text datapath="nomclient/text()">
<method event="ontext">
this.setText(decode(this.getText()))
</method>
</text>
<text datapath="porteur/text()">
<method event="ontext">
this.setText(decode(this.getText()))
</method>
</text>
<text datapath="dcde/text()"/>
</view>
</view>
I need a tip to make a dropshadow effect with a view.
Here's my code but it doesn't work.
If someone could give this help.
<view id="item" y="10" x="10" height="25" width="500"
datapath="dset:/tracing[1]/commande"
bgcolor="white">
<view x="8" y="8" height="25" width="500"
name="Shadow" bgcolor="black" opacity=".2">
<method event="onapply">
item.bringToFront();
</method>
<simplelayout axis="x"/>
<text datapath="ncde/text()"/>
<text datapath="nomclient/text()">
<method event="ontext">
this.setText(decode(this.getText()))
</method>
</text>
<text datapath="porteur/text()">
<method event="ontext">
this.setText(decode(this.getText()))
</method>
</text>
<text datapath="dcde/text()"/>
</view>
</view>