Hi,
bitte formatiere deine Sourcecodestücke mit den [ delphi]-Tags.
Delphi-Quellcode:
frmWork1:= Application.FindComponent(Lb1.items[lb1.itemindex]) as Tform;
// With frmwork1 do <-- weg
// Begin
edtWork := frmWork1.FindComponent(Lb2.items[n]) as Tedit;
// end;
Chris