Re: [Lazarus] Scaling of menuitem icons

2018-10-13 Thread Vojtěch Čihák via Lazarus
It seems the same here (KDE and Lazarus Qt4). I was able to take screenshot with Spectacle (rectangular area).   V. __ Od: "Juha Manninen via Lazarus" Komu: "Lazarus mailing list" Datum: 13.10.2018 22:09 Předmět: [Lazarus] Scaling of

[Lazarus] Scaling of menuitem icons

2018-10-13 Thread Juha Manninen via Lazarus
Hi When higher DPI setting is used on Windows, Lazarus IDE appears to obey nicely. All icons are also scaled, together with texts. On my Linux + KDE system however icons of the IDE's main menuitems do not scale. In KDE settings panel -> Fonts I set the "Force font's DPI" value to 144 which is abo

Re: [Lazarus] Can't assign event procedure....

2018-10-13 Thread Bo Berglund via Lazarus
On Sat, 13 Oct 2018 20:43:43 +0200, Bo Berglund via Lazarus wrote: >type > TRxEvent = procedure (const Buffer: TBytes) of object; Of course posting here is the best way to actually discover the solution just a few minutes afterwards... The const specifier was missing in the implementation on t

Re: [Lazarus] Can't assign event procedure....

2018-10-13 Thread Vojtěch Čihák via Lazarus
Did you try simply to add "const"?   V. __ Od: "Bo Berglund via Lazarus" Komu: laza...@lists.lazarus.freepascal.org Datum: 13.10.2018 20:43 Předmět: [Lazarus] Can't assign event procedure What am I doing wrong here? I have writt

Re: [Lazarus] Can't assign event procedure....

2018-10-13 Thread gabor via Lazarus
Missing "const" before Buf? procedure OnRxSS(*const* Buf: TBytes); W dniu 2018-10-13 o 20:43, Bo Berglund via Lazarus pisze: Then in the form unit where I want to use this: ... private ... procedure OnRxSS(Buf: TBytes); ... end; Regards, Michał. --

[Lazarus] Can't assign event procedure....

2018-10-13 Thread Bo Berglund via Lazarus
This is what I have: In a unit where a logging class is defined: type TRxEvent = procedure (const Buffer: TBytes) of object; ... TWiFiCommLogger = class(TThread) private ... FOnRxData: TRxEvent; ... public ... property OnRxData: TRxEvent read FOnRxData write FOnRxData; ...

Re: [Lazarus] Combobox with sorted list of unique items?

2018-10-13 Thread Bart via Lazarus
On Fri, Oct 12, 2018 at 5:01 PM Bo Berglund via Lazarus wrote: > combobox.items.text := stringlist.text; combobox.items.assign(stringlist)? -- Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/laza