2016-02-04, 17:31
Hi,
Simple question : is it possible to use $PARAM[] with Width and Heigh attributes ?
I tried and have no success with a test on image control.
I also tried to set a default value to params.
The image is displayed, but not with the expected widht and/or Height
Simple question : is it possible to use $PARAM[] with Width and Heigh attributes ?
I tried and have no success with a test on image control.
I also tried to set a default value to params.
The image is displayed, but not with the expected widht and/or Height
PHP Code:
<include name="MyControl">
<param name="W"/>
<param name="P" />
<definition>
<control type="image">
<left>0</left>
<top>0</top>
<width>$PARAM[W]</width>
<height>$PARAM[H]</height>
<texture>$INFO[ListItem.Art(clearlogo)]</texture>
</control>
</definition>
</include>