TListFilterEdit weird behaviour lazarus / 31-LCL ---------------------------------------------------------------------- lazjump · 2015-05-31 16:04 Something is weird with TListFilterEdit. I am using Lazarus 1.4.0 on Windows XP SP3. The OnChange event would give "... raised exception class 'External: SIGSEGV'" if the ListFilterEdit.Text is not empty. Steps to reproduce: 1. Create a new application 2. Put a ListFilterEdit and a Label on the main form 3. Type something for ListFilterEdit1.Text in Object Inspector 4. Create OnChange event for the ListFilterEdit1. Inside that event, type:    Label1.Text:='Hey'; 5. Run the application The SIGSEGV would go away if the application run with empty ListFilterEdit1.Text. ---------------------------------------------------------------------- JuhaManninen · 2015-05-31 17:26 Quote from: lazjump on May 31, 2015, 06:04:19 pmSomething is weird with TListFilterEdit. I am using Lazarus 1.4.0 on Windows XP SP3. The OnChange event would give "... raised exception class 'External: SIGSEGV'" if the ListFilterEdit.Text is not empty. I fixed it in trunk with r49234. QuoteSteps to reproduce: 1. Create a new application 2. Put a ListFilterEdit and a Label on the main form 3. Type something for ListFilterEdit1.Text in Object Inspector 4. Create OnChange event for the ListFilterEdit1. Inside that event, type:    Label1.Text:='Hey'; 5. Run the application "Label1.Text" does not even compile. "Label1.Caption" does. Anyway, that is a weird usage of TListFilterEdit. The idea is to connect it to a TListBox with FilteredListBox property and then let the user type characters in it. What exactly are you trying to do? ---------------------------------------------------------------------- lazjump · 2015-06-01 00:14 Oh my bad, sorry about that Label1.Text I was browsing the Lazarus component pallete and toying with components that Lazarus have but Delphi 7 don't have. I put many of such components on the form, including a TListFilterEdit. I did some things in the OnChange event of the TListFilterEdit and then I was toying randomly with another components. At some point, I tidy up the layouts of components on the form. I entered some text in the Text property of the TListFilterEdit, just to know what it would look like when it is full of text. Then I run the application and the SIGSEGV came out. It took me some time to figure out that the error came from the TListFilterEdit. BTW, at a quick glance, it is not obvious that the intended usage of TListFilterEdit is to filter items in a TListBox. TListFilterEdit is not in the Lazarus help. I was thinking that it is a special kind of TEdit that would display filter in a list Thank you for the fix, Juha. ---------------------------------------------------------------------- JuhaManninen · 2015-06-01 23:11 Quote from: lazjump on June 01, 2015, 02:14:19 amBTW, at a quick glance, it is not obvious that the intended usage of TListFilterEdit is to filter items in a TListBox. TListFilterEdit is not in the Lazarus help. True, they should be documented better. I added skeleton FPDoc XML files for LazControls units in r49240. The contents can be improved later. Patches for documentation are welcome, too BTW. See View -> FPDoc editor, it is easy and fun. Wiki has something about the filter edits :   http://wiki.freepascal.org/lazcontrols