<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hello,<br>
<br>
Le 02/03/2015 à 23:18, Samuel Gougeon a écrit :<br>
</div>
<blockquote type="cite" cite="mid:54F4E1B6.3080000@free.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<font face="Arial">Hello,<br>
Are there any instructions to move the console's vertical
scrollbar up to the top?<br>
I mean, not the caret (tohome() does it), but the scrollbar.<br>
Even a hack through java/JIMS would be welcome.<br>
</font></blockquote>
<p><font face="Arial"><br>
</font>Well, this is still a very needed feature : for instance,
after a clc() and the display of a help page in the console with
uman(), going up to the top of the console to start viewing the
top of the page would be more handy.<br>
Digging a bit among available Java classes: <br>
<font face="Arial"><font face="monospace">jimport
org.scilab.modules.gui.bridge.CallScilabBridge;<br>
jgetmethods(CallScilabBridge)<br>
</font></font></p>
shows many interesting (and working) methods addressing the console
-- including<br>
<font face="Arial"><font face="monospace">CallScilabBridge.toHome();
// --</font></font><br>
but nothing addressing directly the vertical scrolbar position.<br>
Maybe digging more would work...<br>
<br>
Any hints?<br>
<br>
The same feature would be useful for uicontrol listbox, as in the
right pannel of the ATOMS interface, where the description of a
selected module is displayed. Each time the scrolbar is down to the
bottom. Having a way to put it at the top would be fine. <br>
<br>
BR<br>
Samuel<br>
<font face="Arial"><font face="monospace"><br>
</font></font>
</body>
</html>