Re: [Lazarus] TListView - how to make selected line stay selected?

2019-08-19 Thread Bo Berglund via lazarus
On Tue, 20 Aug 2019 00:01:38 +0200, Werner Pamler via lazarus wrote: >Did you set HideSelection to false? Did not know it existed... Set to true by default. But when I unchecked it and tried to skip the code I showed it did not work. When I returned to the listview the selected item was unselect

[Lazarus] Installed Lazarus 2.0.4 on my Chromebook...

2019-08-19 Thread Samps via lazarus
Just thought I'd let the makers of this wonderful software know that it installs almost flawlessly on a newish Chromebook. Screen shot to prove it: https://cloud.unplugd.info/index.php/s/2yRXGBRowEgbkGq Packages chosen were the .deb ones from Sourceforge and below is a dump of the history of c

Re: [Lazarus] TListView - how to make selected line stay selected?

2019-08-19 Thread Werner Pamler via lazarus
Did you set HideSelection to false? -- ___ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus

Re: [Lazarus] TListView - how to make selected line stay selected?

2019-08-19 Thread Bo Berglund via lazarus
On Mon, 19 Aug 2019 18:21:06 +0200, Bo Berglund via lazarus wrote: >How can this be accomplished? I ended up adding the code below after reading this: http://delphidabbler.com/articles?article=16 procedure TfrmEditCuts.lvCutListCustomDrawItem(Sender: TCustomListView; Item: TListItem; State:

Re: [Lazarus] Lazarus on POWER9 Little Endian

2019-08-19 Thread Florian Klaempfl via lazarus
Am 18.08.2019 um 11:41 schrieb Tobias Giesen via lazarus: > Hello, > I am trying to use Lazarus on a ppc64el processor under Ubuntu. > > Unfortunately startlazarus and lazarus crash with a segmentation fault in > a call to XGetWindowProperty in gtk2widgetset.inc in function > TGtk2WidgetSet.GetWin

[Lazarus] TListView - how to make selected line stay selected?

2019-08-19 Thread Bo Berglund via lazarus
I have a dialog which is used to enable changing the order of certain items. The items are displayed in a TListView component in report mode, each item occupies one line and shows several properties in the columns. Now I want to be able to select the row (list.Rowselect = true) when clicking on it.