<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello Ludovic,<br>
<br>
Le 14/07/2018 à 09:38, <a class="moz-txt-link-abbreviated" href="mailto:ludovic.wagner67@gmail.com">ludovic.wagner67@gmail.com</a> a écrit :<br>
</div>
<blockquote cite="mid:1531553891591-0.post@n3.nabble.com"
type="cite">
<pre wrap="">Hello,
I'm looking for a way to display spreadsheets on a graphic window (the idea
is to embed some features of spreadsheet programs). I need to superpose
matrix of strings over grids using xrects(rects, fill).
PS I have several thousands rows to display, so I can't loop through and
draw all elements individually. Of course, I will add a slider to scroll the
spreadsheet, but that's not an issue..
Is it possible to adjust and constraint the height of each row when drawing
matrix of strings?
</pre>
</blockquote>
<br>
A uicontrol - listbox component may be used to get a scrollable
stylable area.<br>
Styling is done by using some (implicit or explicit) HTML tags. HTML
4.0 is supported.<br>
<br>
Please see for instance:<br>
<font size="-1"><tt>--> demo_gui() // => GUI => Listboxes
and Popupmenus</tt><tt><br>
</tt></font><font size="-1"><tt>--> edit
SCI/modules/gui/demos/uicontrol_listbox_popupmenu.dem.sce</tt></font><br>
<a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.1/en_US/uicontrol_properties.html">https://help.scilab.org/docs/6.0.1/en_US/uicontrol_properties.html</a>
=> String => listbox<br>
<font size="-1"><tt><br>
-->
edit("SCI/modules/atoms/macros/atoms_internals/atomsSetInstalledList.sci",64)</tt></font><br>
<br>
To cancel elements interactivity, just keep their .callback field
empty.<br>
<br>
HTH<br>
Samuel<br>
<br>
</body>
</html>