Originally shared by flavio motta


Originally shared by flavio motta

Access Firemonkey LISTVIEW ITEMs property dinamically.

I have created new itens in Delphi 10.1 but i need acess TEXT property from each one.

Someone ? Thanks !

Comments

  1. This works for me, Berlin, android, custom list view

    procedure LinkListControlToField1FillingListItem(Sender: TObject; const AEditor: IBindListEditorItem);
    var l : TListItemText ;
    begin
    if assigned(AEditor.CurrentObject) then begin
    l := TListViewItem(AEditor.CurrentObject).Objects.FindObjectT('Text1') ;
    if assigned(l) then begin
    .........
    end;
    end;
    end;

    ReplyDelete

Post a Comment