[Lazarus] Feature request/inquiry

Michael Van Canneyt michael at freepascal.org
Sun Apr 26 14:13:08 CEST 2015



On Sun, 26 Apr 2015, zeljko wrote:

> On 04/26/2015 01:41 PM, Juha Manninen wrote:
>> On Sun, Apr 26, 2015 at 1:26 PM, Michael Van Canneyt
>> <michael at freepascal.org> wrote:
>>> Is there such a thing for Lazarus' TEdit and related controls ? if not, is
>>> it planned ?
>> 
>> It is planned :
>>    http://bugs.freepascal.org/view.php?id=21307
>> 
>> I don't know how many widgetsets support it but we can implement it
>> like already done in the FilterEdit components.
>
> if FilterEdit works on all widgetsets (and I don't see any reason why it 
> should not work), then it won't be problem to implement it imo.

Good :)

A small note concerning TFilterEdit for listviews:  I tried using it but it's not usable.

You cannot associate any data pointer with the list items, which is essential for my needs.
You also cannot set the icon for the items (in fact, no properties can be set but the caption)

At first I thought it would operate directly on the list items itself, but it seems it has it's private 
copy of the data and rebuilds the listview using that. For some strange reason the author decided it was 
enough to use an array of strings. Quod non :(

Michael.




More information about the Lazarus mailing list