Recent

Author Topic: Trouble with FileListBox + ListFilterEdit  (Read 911 times)

olfibits

  • Newbie
  • Posts: 1
Trouble with FileListBox + ListFilterEdit
« on: November 06, 2017, 05:48:17 pm »
Hi to everyone,

first, I'm new here, so please don't mind if that's the wrong subforum and correct it if it's wrong.

About my problem: My project is a note application for Linux. It's got a directory ("~/Documents/NoteIt") where any note is located (and nowhere else). Now, if the filter text changes, the directory changes to the current working directory, where the program is located, for some reason I don't understand. Has anyone had that problem already or knows a solution? My lazarus version is 1.6.4, FPC 3.0.2. Thanks in advance.

Florian

jamie

  • Hero Member
  • *****
  • Posts: 6090
Re: Trouble with FileListBox + ListFilterEdit
« Reply #1 on: November 07, 2017, 12:48:16 am »
I haven't used such controls in some time however, it's easy to simply update the directory
of the Listbox prior to a filter change using one of the many events you have in the TlistFilterEdit
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018