Re: [Lazarus] Lazarus 2.0 returning inconsistent formatted results of DateTimeToStr?

2019-03-13 Thread Joe via lazarus

Am 12.03.2019 um 22:53 schrieb Michael Van Canneyt via lazarus:

For Linux OS settings to be initialized correctly, you should add the
'clocale' unit to your program's uses clause.


Yes, ok now. Thanx, Michael.
--  Joe

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] VirtualTreeView rendering on Cocoa

2019-03-13 Thread Andrea Mauri via lazarus
>
>
>  Graeme, if VTV code is good then blurring problem can be solved - by
> setting DblBuffered to false, no?
>

DoubleBuffered, True or False does not have any effect.
Andrea
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] VirtualTreeView rendering on Cocoa

2019-03-13 Thread Graeme Geldenhuys via lazarus
On 13/03/2019 11:23, Alexey via lazarus wrote:
> by setting DblBuffered to false, no?

I honestly don't know the current code of VTV. I haven't used VTV since
around 2008. :) Your best bet, and quickest answer would be simply to
try what you suggested and see what the output looks like.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] VirtualTreeView rendering on Cocoa

2019-03-13 Thread Alexey via lazarus
 Graeme, if VTV code is good then blurring problem can be solved - by setting 
DblBuffered to false, no?
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] VirtualTreeView rendering on Cocoa

2019-03-13 Thread Graeme Geldenhuys via lazarus
On 13/03/2019 10:14, Andrea Mauri via lazarus wrote:
> Where should I look?

I suggest you simply browse through the source code. First check to see
if there is not maybe an existing property that must be set to manually
enable Hi-DPI support. If not, search the internet about other users
using VirtualTreeview and there questions about Hi-DPI. If still no
answers, simply work through the code to see what could be changed to
introduce Hi-DPI support.  At least, this is what I would have done.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] VirtualTreeView rendering on Cocoa

2019-03-13 Thread Andrea Mauri via lazarus
>
> It looks like VirtualTreeView is not Hi-DPI aware. Just a guess, but it
> seems that it is generating the treeview rendering on a internal image
> buffer (not hi-dpi sized), and then when blitting that to the actual
> window canvas, the image gets scaled - hence the pixelation. I didn't
> actually look at the the virtualtree code (it is *massive*), but what I
> described is a common problem with custom drawn components.
>
>
Thank you Graeme!
Someone know if is there any chance to get it working properly on Cocoa
too?
I can try to have a look at it but my skills in this field are limited.
Where should I look?
Any suggestion?
Andrea
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] TListView selection handling in windows

2019-03-13 Thread Rolf Wetjen(rolf.wetjen--- via lazarus

Hi,
selecting items of a TListView doesn't work as in for example in windows
explorer:
Explorer: The selection doesn't change if multiple items are selected
and you click one of the selected items (to start dragging).
Lazarus 2.0 and 2.1: A click into an existing selection changes the
selection.

Rolf

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus
-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus