2010-01-28, 03:09
I am trying to change the height and y position of a panel based on the number of items. I created 3 different sets (shown below) of positions and was trying to use the below within the panel control to change them. I can't seem to get any of them to show. Is this not possible to am I doing something wrong. I have read a few other threads about this feature and it seems I have it done correctly from what I have seen. Any help would be much appreciated.
<include name="Wall1">
<posx>89</posx>
<posy>495</posy>
<width>1107</width>
<height>170</height>
</include>
<include condition="!IntegerGreaterThan(Container(554).NumItems,6)">Wall1</include>
<include condition="IntegerGreaterThan(Container(554).NumItems,6)">Wall2</include>
<include name="Wall1">
<posx>89</posx>
<posy>495</posy>
<width>1107</width>
<height>170</height>
</include>
<include condition="!IntegerGreaterThan(Container(554).NumItems,6)">Wall1</include>
<include condition="IntegerGreaterThan(Container(554).NumItems,6)">Wall2</include>