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;
OHHH...Thanks I will test....
ReplyDelete/sub
ReplyDeleteThis works for me, Berlin, android, custom list view
ReplyDeleteprocedure 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;