Hi all, please can you tell me the way to reset text box to the top on reload in dialog window?
The textbox is controlled by scrollbar and autoscroll, the problem is that it does not reset to the top on dialog close and re-open.
I believe that it's something easy that I just missed.
Below the code:
Thanks for help.
The textbox is controlled by scrollbar and autoscroll, the problem is that it does not reset to the top on dialog close and re-open.
I believe that it's something easy that I just missed.
Below the code:
PHP Code:
<control type="textbox" id="401">
<description>Plot value</description>
<left>46</left>
<top>370</top>
<width>1390</width>
<height>342</height>
<font>font14_textbox</font>
<align>justify</align>
<textcolor>grey</textcolor>
<shadowcolor>shadow</shadowcolor>
<pagecontrol>62</pagecontrol>
<autoscroll time="3000" delay="4000" repeat="5000">Skin.HasSetting(Enable.AutoScroll)</autoscroll>
<label fallback="161">$INFO[VideoPlayer.NextPlot]</label>
</control>
<control type="scrollbar" id="62">
<showonepage>true</showonepage>
<left>1450</left>
<top>370</top>
<height>340</height>
<width>8</width>
<onup>PageUp(401)</onup>
<ondown>PageUp(401)</ondown>
<onleft>Skin.ToggleSetting(ToggleLiveTVNext)</onleft>
<onright>Skin.ToggleSetting(ToggleLiveTVNext)</onright>
<onleft>Control.SetFocus(61)</onleft>
<onright>Control.SetFocus(61)</onright>
<texturesliderbackground />
<texturesliderbar colordiffuse="55ffffff" border="1">scrollbar/texturesliderbar2.png</texturesliderbar>
<texturesliderbarfocus border="1">scrollbar/texturesliderbar2.png</texturesliderbarfocus>
<orientation>vertical</orientation>
</control>
Thanks for help.