Re: [Lazarus] We are planning the next release: Lazarus 2.0.2

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

Hi Lazarus team,

can you check if the fix for this one can be included in 2.0.2:
https://bugs.freepascal.org/view.php?id=33394 (ListView.ScrollBy doesn't 
work (vsReport/Windows)


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


[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


[Lazarus] ListView.ScrollBy not working?

2018-03-06 Thread Rolf Wetjen(rolf.wetjen--- via Lazarus

Does anybody know how to scroll a listview?
Seems that ListView.ScrollBy isn't working, at least not for Windows. 
There's no TCustomListView.ScrollBy procedure and of course the default 
TWinControl implementation doesn't send a LVM_SCROLL message to the MS 
ListView control.

Probably a bug?

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


Re: [Lazarus] Strange ComboBox behavior (Windows)

2018-02-28 Thread Rolf Wetjen(rolf.wetjen--- via Lazarus

Hi Ondrej,

I was in doubt but to my own surprise it's possible to patch only 
win32wsstdctrls.pp for both issues.
Patch is attached. Are you the one to apply it or shall I do something 
else?


Rolf

-- Originalnachricht --
Von: "Ondrej Pokorny via Lazarus" 
An: lazarus@lists.lazarus-ide.org
Cc: "Ondrej Pokorny" 
Gesendet: 20.02.2018 17:45:40
Betreff: Re: [Lazarus] Strange ComboBox behavior (Windows)


On 20.02.2018 8:40, Rolf Wetjen(rolf.wetjen--- via Lazarus wrote:
Is there any interest in a patch to solve MS Windows issues although 
the patch would add some windows specific code to stdctrls.pp and 
customcombobox.inc? I've a solution for the "AutoSelect=false" one and 
an idea for the second one.


There definitely is interest in fixing bugs. OS/WS/platform-specific 
code belongs to the widgetset code: win32wsstdctrls.pp and similar.


Ondrej

win32wsstdctrls.pp.patch
Description: Binary data
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Strange ComboBox behavior (Windows)

2018-02-19 Thread Rolf Wetjen(rolf.wetjen--- via Lazarus

Hi Lazarus team,

I've two issues with a ComboBox (csDropDown) control in Windows:

1. ComboBox.AutoSelect:=false isn't working. I seems that Windows always 
selects the whole ComboBox.Text at activation of the control.


2. Changing the ComboBox.Font (.Style, .Size or .Color) overwrites the 
ComboBox.Text with the first matching item of ComboBox.Items.

ComboBox.Style is csDropDown. Look at this code:

procedure TForm1.SpeedButtonTestClick (Sender: TObject);
begin
  ComboBox1.Clear;
  ComboBox1.Items.Add('Item0');
  ComboBox1.Items.Add('TestItem1');
  ComboBox1.Items.Add('Item2');
  ComboBox1.Text:='Test';
  if fsBold in ComboBox1.Font.Style then
ComboBox1.Font.Style:=ComboBox1.Font.Style-[fsBold]
  else
ComboBox1.Font.Style:=ComboBox1.Font.Style+[fsBold];
end;

ComboBox1.Text is set to 'TestItem1'.

I'd a good look into customcombobox.inc and win32wsstdctrls.pp (Windows 
10 x64, Lazarus 1.9 57316) trying to analyse this without any idea. 
Meanwhile I think that both issues are MS Windows ones. But I don't have 
a Linux environment to check it. Maybe someone else can do?


Is there any interest in a patch to solve MS Windows issues although the 
patch would add some windows specific code to stdctrls.pp and 
customcombobox.inc? I've a solution for the "AutoSelect=false" one and 
an idea for the second one.


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