Re: [Lazarus] StringGrid1.SaveToCSVFile - UTF-8 with BOM

2018-03-10 Thread Sandro Cumerlato via Lazarus
e: > > On Sat, 10 Mar 2018 16:57:08 +0100 >> Sandro Cumerlato via Lazarus wrote: >> >> Hello, >>> how can I save StringGrid content to a CSV file encoded to "UTF-8 with >>> BOM" >>> format? (as default it is saved to "UTF-8 without B

[Lazarus] StringGrid1.SaveToCSVFile - UTF-8 with BOM

2018-03-10 Thread Sandro Cumerlato via Lazarus
Hello, how can I save StringGrid content to a CSV file encoded to "UTF-8 with BOM" format? (as default it is saved to "UTF-8 without BOM" format) Thank you in advance for your help! Sandro Cumerlato -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide

Re: [Lazarus] IPC: TSimpleIPC, ZeroMQ, nanomsg...

2017-10-19 Thread Sandro Cumerlato via Lazarus
ZeroMQ (libzmq 4.2.2) header binding for FPC is available at: https://github.com/DJMaster/zeromq-fpc Best regards. Sandro Cumerlato On 19 October 2017 at 05:23, R0b0t1 via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Wed, Oct 18, 2017 at 3:38 PM, Marcos Douglas B. Santos via Lazarus >

Re: [Lazarus] ComparePoints func

2017-07-26 Thread Sandro Cumerlato via Lazarus
IMHO you should consider 5 cases: P1 = P2 and the four quadrants https://en.m.wikipedia.org/wiki/Quadrant_(plane_geometry) - Quadrant I should correspond to > - Quadrant III should correspond to < - What about quadrants II and IV? You could compare your point to Y = -X line to reduce your study t

Re: [Lazarus] ComparePoints func

2017-07-26 Thread Sandro Cumerlato via Lazarus
What do you think about: function ComparePoints(P1, P2: TPoint): TPoint; begin Result.X := (P1.X - P2.X); Result.Y := (P1.Y - P2.Y); end; Best regards. Sandro Cumerlato On Jul 26, 2017 3:56 PM, "Alexey via Lazarus" wrote: I think LCL has many Compare funcs, but misses func for TPoint

Re: [Lazarus] Revision 55440 - TAChart: Allow 3-digit HTML color codes.

2017-07-04 Thread Sandro Cumerlato via Lazarus
I respond myself :) 1) "shl 8" is necessary to get TFPColor values (The TFPColor record contains the Red, Green, Blue and Alpha channel values as left adjusted 16 bit words, with increasing intensity from 0 to $). Not TColor values as I thought. 2) 3 digits case has been just fixed in revisio

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 La

Re: [Lazarus] Questionnaire GUI component

2017-06-30 Thread Sandro Cumerlato via Lazarus
o 500 questions (Frames), how can I solve this issue? [image: Inline images 1] On 30 June 2017 at 22:59, Mattias Gaertner via Lazarus < lazarus@lists.lazarus-ide.org> wrote: > On Fri, 30 Jun 2017 22:46:17 +0200 > Sandro Cumerlato via Lazarus wrote: > > > Thank you Adrian for

Re: [Lazarus] Questionnaire GUI component

2017-06-30 Thread Sandro Cumerlato via Lazarus
2] On 30 June 2017 at 21:10, Adrian De Armas wrote: > 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

[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

Re: [Lazarus] Configure IDE dlg tab-set

2017-04-23 Thread Sandro Cumerlato via Lazarus
With Michael explanation it looks like the best solution. Sorry for my misunderstanding. Sandro On 23 Apr 2017 10:30, "Graeme Geldenhuys via Lazarus" < lazarus@lists.lazarus-ide.org> wrote: > On 2017-04-23 07:21, Alexey via Lazarus wrote: > > This dialog has one tabset -from PageControl, and a

Re: [Lazarus] Configure IDE dlg tab-set

2017-04-23 Thread Sandro Cumerlato via Lazarus
Good idea! +1000 Sandro On 23 Apr 2017 10:49, "Michael Van Canneyt via Lazarus" < lazarus@lists.lazarus-ide.org> wrote: You can achieve the same with a status icon on the tabs. *If* something needs to be removed, I would remove the listbox. It only takes up a lot of space, and it's mostly empt

Re: [Lazarus] Configure IDE dlg tab-set

2017-04-23 Thread Sandro Cumerlato via Lazarus
If I have understand correctly, it is better to have only one list. I prefer the left Listbox. Sandro On 23 Apr 2017 10:17, "Michael Van Canneyt via Lazarus" < lazarus@lists.lazarus-ide.org> wrote: > > > On Sun, 23 Apr 2017, Alexey via Lazarus wrote: > > This dialog has one tabset -from PageCont

Re: [Lazarus] Configure IDE dlg tab-set

2017-04-23 Thread Sandro Cumerlato via Lazarus
On 23 Apr 2017 10:30, "Graeme Geldenhuys > Simply remove the listbox and then > place error state icons in the tabs > where applicable. So you will still get > an overview of what settings are > wrong. -1 IMHO left ListBox is better because error states are visible even if tab is not selected. I

Re: [Lazarus] Configure IDE dlg tab-set

2017-04-23 Thread Sandro Cumerlato via Lazarus
+1 Better leave left Listbox. Sandro On 23 Apr 2017 08:21, "Alexey via Lazarus" wrote: > This dialog has one tabset -from PageControl, and another - from left > Listbox/Listview. Confusing. Better leave one Listbox. > > Picture. > > -- > Regards, > Alexey > > > -- > ___

Re: [Lazarus] ScrollBox and Touchscreen interaction

2017-04-07 Thread Sandro Cumerlato via Lazarus
Current SVN trunk. Under Windows 10. Sorry for the missing info. Sandro Cumerlato 2017-04-07 23:16 GMT+02:00 Ondrej Pokorny via Lazarus : > Lazarus version? > > Ondrej > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus-ide.org > http://lists.laz

Re: [Lazarus] RadioGroup MouseWheel behaviour

2017-03-28 Thread Sandro Cumerlato via Lazarus
Thank you for the prompt fix! Best regards, Sandro Cumerlato On 29 Mar 2017 07:37, "Ondrej Pokorny via Lazarus" < lazarus@lists.lazarus-ide.org> wrote: > On 28.03.2017 23:54, Sandro Cumerlato via Lazarus wrote: > >> I consider a bug the behaviour of the MouseWheel wh

Re: [Lazarus] SVG Editor or Viewer

2017-01-29 Thread Sandro Cumerlato via Lazarus
Hello Lars, I think you are talking about LazPaint: https://github.com/bgrabitmap Pure Lazarus/FPC code FPVectorial (under development) can read/write SVG files. If you only need a viewer and can rely on external libraries then take a look at Cairo+LibRsvg: https://github.com/DJMaster/cairo-fpc h

[Lazarus] LazarusIDE - Component Palette - OnMouseWheel

2016-10-28 Thread Sandro Cumerlato via Lazarus
Hello, I've noticed that the Component Palette is not rendered properly after an OnMouseWheel event over it. Look at the attached image to see what I mean. I've also noticed a frequent flickering of the LazarusIDE main menu. OS: Windows 10 Lazarus: svn trunk Best regards. Sandro Cumerlato --