Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread Werner Pamler via lazarus
Am 07.03.2019 um 14:12 schrieb AlexeyT via lazarus: Here's my GH repo with dialog which almost 100% mimics GTK2 FontDialog. https://github.com/alexey-t/atfontdialog On Windows the font dialog also allows to select the color which is missing here. An issue: the dialog is resizable, but the

Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread C Western via lazarus
On 07/03/2019 13:09, zeljko via lazarus wrote: On 03/06/2019 07:54 PM, AlexeyT via lazarus wrote: I have an idea to make LCL based TFontDialog- which will be LCL form, which can be called by TFontDialog.Execute (if Boolean variable in LCL is set). Why make it? I haven't checked recently, but

Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread Graeme Geldenhuys via lazarus
On 07/03/2019 13:12, AlexeyT via lazarus wrote: > Default must be native OS dialog. I suggest to use my dialog when > boolean option in LCL (will be added) true. The replies so far are not surprising at all. LCL prides itself staying with "native components". Granted I find that has many

Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread Martin Frb via lazarus
On 07/03/2019 18:14, Alexey via lazarus wrote: Please no? What do other developers think, also no (lcl option for universal dialog not wanted)? AT IMHO, it should be a separate component. So no code will be pulled into the user app, if it is not used. While certainly useful, it is not

Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread Alexey via lazarus
Please no? What do other developers think, also no (lcl option for universal dialog not wanted)? AT -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread Bart via lazarus
On Thu, Mar 7, 2019 at 2:12 PM AlexeyT via lazarus wrote: > Default must be native OS dialog. I suggest to use my dialog when > boolean option in LCL (will be added) true. Please no! -- Bart -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org

Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread AlexeyT via lazarus
Default must be native OS dialog. I suggest to use my dialog when boolean option in LCL (will be added) true. Here's my GH repo with dialog which almost 100% mimics GTK2 FontDialog. https://github.com/alexey-t/atfontdialog It even increases preview height for big sizes >20. On 07.03.2019

Re: [Lazarus] Universal FontDialog for LCL

2019-03-07 Thread zeljko via lazarus
On 03/06/2019 07:54 PM, AlexeyT via lazarus wrote: I have an idea to make LCL based TFontDialog- which will be LCL form, which can be called by TFontDialog.Execute (if Boolean variable in LCL is set). Why make it? - we can make all best features of FontDlgs from all WSes - we can make

Re: [Lazarus] Lazarus 2.0 doesn't compile LabJack wrapper

2019-03-07 Thread Joe via lazarus
Am 07.03.2019 um 08:24 schrieb Juha Manninen via lazarus: Actually the implementation part is not needed (I think). Just give the external DLL name in the interface. Interesting approach. I'll try this. Thanx, Juha. -- Joe -- ___ lazarus mailing

Re: [Lazarus] Lazarus 2.0 doesn't compile LabJack wrapper

2019-03-07 Thread Joe via lazarus
Am 07.03.2019 um 08:33 schrieb Mattias Gaertner via lazarus: Have you tried compiling with {$mode delphi} instead of {$mode objfpc}? The wrapper did not contain any '{$mode objfpc}' or '{$mode delphi}' instruction. I inserted '{$mode delphi}', and the wrapper could be compiled. Thanx, Mattias.