[Lazarus] Questionnaire GUI component
Sandro Cumerlato
sandro.cumerlato at gmail.com
Fri Jun 30 23:56:55 CEST 2017
Thank you Mattias for your suggestion,
I will give a try with the TStringGrid component.
Good night.
Sandro Cumerlato
On 30 June 2017 at 23:35, Mattias Gaertner via Lazarus <
lazarus at lists.lazarus-ide.org> wrote:
> On Fri, 30 Jun 2017 23:10:25 +0200
> Sandro Cumerlato via Lazarus <lazarus at lists.lazarus-ide.org> wrote:
>
> > Thank you Mattias,
> > unique names solved the issue, I was wrongly naming frames:
> > MyFrames[i].Name := Format('Frame%d', [i]);
> >
> > Last question: I am creating Frames within a ScrollBox, but it look like
> > there is a limit of the ScrollBox height to 32768 pixels.
> >
> > I'd like to display up to 500 questions (Frames), how can I solve this
> > issue?
>
> I guess you don't expect the user to scroll 32.000+. Instead he should
> only scroll your 500 items. Use a TStringgrid (it supports comboboxes)
> or implement your own grid using a TScrollBar and a few of your frames -
> enough to cover the client area.
>
> Mattias
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus-ide.org
> http://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170630/6f705ac9/attachment-0001.html>
More information about the Lazarus
mailing list