Reset textbox to the top
#1
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:
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.
Reply


Messages In This Thread
Reset textbox to the top - by nhsman - 2017-09-28, 19:40
RE: Reset textbox to the top - by nhsman - 2017-10-12, 20:13
RE: Reset textbox to the top - by Chillbo - 2018-09-08, 18:11
RE: Reset textbox to the top - by sualfred - 2018-09-08, 18:31
RE: Reset textbox to the top - by Chillbo - 2019-11-12, 13:02
RE: Reset textbox to the top - by manfeed - 2022-01-31, 01:36
RE: Reset textbox to the top - by Chillbo - 2022-01-31, 11:34
RE: Reset textbox to the top - by manfeed - 2022-01-31, 16:49
Logout Mark Read Team Forum Stats Members Help
Reset textbox to the top0