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] TreeView.MouseLeave issue

2017-06-30 Thread Mattias Gaertner via Lazarus
On Fri, 30 Jun 2017 11:59:56 +0300 Alexey via Lazarus wrote: > procedure TCustomTreeView.MouseLeave; > begin >FStates:=FStates-[tvsDblClicked,tvsTripleClicked,tvsQuadClicked, > tvsEditOnMouseUp,tvsSingleSelectOnMouseUp]; >if Assigned(FHintWnd) and FHintWnd.Visible >

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

[Lazarus] Lazarus Release Candidate 3 of 1.8.0

2017-06-30 Thread Mattias Gaertner via Lazarus
The Lazarus team is glad to announce the third release candidate of Lazarus 1.8. This release was built with FPC 3.0.2. The previous release Lazarus 1.6.4 was built with FPC 3.0.2 too. The Linux releases are built with FPC 3.0.3 r36408 due to bug https://bugs.freepascal.org/view.php?id=31629 Her

Re: [Lazarus] Call for translations updates for 1.8 release

2017-06-30 Thread Bart via Lazarus
On 5/10/17, Maxim Ganetsky via Lazarus wrote: >> Is there an official translator for the Dutch language files? > > No. Feel free to take it over. I have been working on the translation of the LCL (I decided to not translate the IDE, there is no "market" for that). Unfortunately my harddisk has d

[Lazarus] TreeView.MouseLeave issue

2017-06-30 Thread Alexey via Lazarus
procedure TCustomTreeView.MouseLeave; begin FStates:=FStates-[tvsDblClicked,tvsTripleClicked,tvsQuadClicked, tvsEditOnMouseUp,tvsSingleSelectOnMouseUp]; if Assigned(FHintWnd) and FHintWnd.Visible and not PtInRect(ClientRect, ScreenToClient(Mouse.CursorPos)) then FHint