Hello,
I'm trying to translate the (all)-Text in the filter of TAdvTreeView.
I've tried it with the OnNeedFilterDropDown the follwoing way
procedure TDMSichtenTreeHelper.AdvTreeViewOnNeedFilterDropDownData
(Sender: TObject; AColumn: Integer; AValues: TStrings);
begin
if AValues[0] = sAdvTreeViewFilterAll then
begin
AValues.Delete(0);
AValues.Add('(Alle)');
end;
end;
That works, but because you check the sAdvTreeViewFilterAll-text also when removing the filter in HandleFilterTimer the function got lost.
Could you replace
//resourcestring
// sAdvTreeViewFilterAll = '(All)';
with
const
sAdvTreeViewFilterAll : String = '(All)';
Then I can set the text in my code.
Thank you.
Björn