<div dir="ltr">Thank you Mattias for your suggestion,<div>I will give a try with theĀ <span style="font-size:12.8px">TStringGrid component.</span><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Good night.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Sandro Cumerlato</span></div><div><span style="font-size:12.8px"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 30 June 2017 at 23:35, Mattias Gaertner via Lazarus <span dir="ltr"><<a href="mailto:lazarus@lists.lazarus-ide.org" target="_blank">lazarus@lists.lazarus-ide.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 30 Jun 2017 23:10:25 +0200<br>
<span class="">Sandro Cumerlato via Lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a><wbr>> wrote:<br>
<br>
</span><span class="">> Thank you Mattias,<br>
> unique names solved the issue, I was wrongly naming frames:<br>
> MyFrames[i].Name := Format('Frame%d', [i]);<br>
><br>
> Last question: I am creating Frames within a ScrollBox, but it look like<br>
> there is a limit of the ScrollBox height to 32768 pixels.<br>
><br>
> I'd like to display up to 500 questions (Frames), how can I solve this<br>
> issue?<br>
<br>
</span>I guess you don't expect the user to scroll 32.000+. Instead he should<br>
only scroll your 500 items. Use a TStringgrid (it supports comboboxes)<br>
or implement your own grid using a TScrollBar and a few of your frames -<br>
enough to cover the client area.<br>
<div class="HOEnZb"><div class="h5"><br>
Mattias<br>
--<br>
______________________________<wbr>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus-ide.org">Lazarus@lists.lazarus-ide.org</a><br>
<a href="http://lists.lazarus-ide.org/listinfo/lazarus" rel="noreferrer" target="_blank">http://lists.lazarus-ide.org/<wbr>listinfo/lazarus</a><br>
</div></div></blockquote></div><br></div>