Re: [Lazarus] Questionnaire GUI component

2017-07-04 Thread Luiz Americo Pereira Camara via Lazarus
2017-06-30 15:33 GMT-03:00 Sandro Cumerlato via Lazarus < lazarus@lists.lazarus-ide.org>: > Hello, > I need a GUI component to implement a Questionnaire (label + combo boxes > right aligned), all in a line like this: > > Question 1? (Option A) (Option B) > > You can look at https://github.com/bli

Re: [Lazarus] Questionnaire GUI component

2017-06-30 Thread Sandro Cumerlato via Lazarus
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@lists.lazarus-ide.org> wrote: > On Fri, 30 Jun 2017 23:10:25 +0200 > Sandro Cumerlato via Lazarus wrote: > > >

Re: [Lazarus] Questionnaire GUI component

2017-06-30 Thread Mattias Gaertner via Lazarus
On Fri, 30 Jun 2017 23:10:25 +0200 Sandro Cumerlato via Lazarus 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

Re: [Lazarus] Questionnaire GUI component

2017-06-30 Thread Sandro Cumerlato via Lazarus
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 (Fr

Re: [Lazarus] Questionnaire GUI component

2017-06-30 Thread Mattias Gaertner via Lazarus
On Fri, 30 Jun 2017 22:46:17 +0200 Sandro Cumerlato via Lazarus wrote: > Thank you Adrian for your reply, > I can create a good layout with Frames, but it looks like I cannot create > multiple frames on the same form... Duplicate name: A component named > "Frame1" already exists. > > I tried to

Re: [Lazarus] Questionnaire GUI component

2017-06-30 Thread Sandro Cumerlato via Lazarus
Thank you Adrian for your reply, I can create a good layout with Frames, but it looks like I cannot create multiple frames on the same form... Duplicate name: A component named "Frame1" already exists. I tried to create an array of Frames at runtime: Question 1? (Option A) (Option B) Question 2?

Re: [Lazarus] Questionnaire GUI component

2017-06-30 Thread Adrian De Armas via Lazarus
Why don't you try with Frames? I think It can implement what u need quickly. Just make the special layout you need and then just copy the frames. http://wiki.freepascal.org/Frames 2017-06-30 15:33 GMT-03:00 Sandro Cumerlato via Lazarus < lazarus@lists.lazarus-ide.org>: > Hello, > I need a GUI

[Lazarus] Questionnaire GUI component

2017-06-30 Thread Sandro Cumerlato via Lazarus
Hello, I need a GUI component to implement a Questionnaire (label + combo boxes right aligned), all in a line like this: Question 1? (Option A) (Option B) Is it already available or can you please suggest me a way to implement it quickly? (TComboBox is not what I am looking for) Thank You in ad