22. November 2021 21:14
AddPicture(InStr : InStream)
CurrentIndex += 1;
CASE CurrentIndex OF
1: BEGIN
Picture1.CREATEOUTSTREAM(OutS);
END;
2: BEGIN
Picture2.CREATEOUTSTREAM(OutS);
END;
3: BEGIN
Picture3.CREATEOUTSTREAM(OutS);
END;
4: BEGIN
Picture4.CREATEOUTSTREAM(OutS);
END;
5: BEGIN
Picture5.CREATEOUTSTREAM(OutS);
END;
END;
COPYSTREAM(OutS,InStr);
CLEAR(OutS);
QuellTabelle.CALCFIELDS(Bild1);
QuellTabelle.CALCFIELDS(Bild2);
QuellTabelle2.CALCFIELDS(Bild1);
IF QuellTabelle."Bild1".HASVALUE THEN BEGIN
QuellTabelle."Bild1".CREATEINSTREAM(InS);
PicturePage.AddPicture(InS);
END;
IF QuellTabelle."Bild 2".HASVALUE THEN BEGIN
QuellTabelle."Bild2".CREATEINSTREAM(InS);
PicturePage.AddPicture(InS);
END;
IF QuellTabelle2."Bild1".HASVALUE THEN BEGIN
QuellTabelle2."Bild1".CREATEINSTREAM(InS);
PicturePage.AddPicture(InS);
END;
PicturePage.RUNMODAL();
AddPicture(InStr : InStream)
CurrentIndex += 1;
CASE CurrentIndex OF
1: BEGIN
Picture1.CREATEOUTSTREAM(OutS);
Picture2.CREATEOUTSTREAM(OutS);
END;
2: BEGIN
Picture2.CREATEOUTSTREAM(OutS);
END;
3: BEGIN
Picture3.CREATEOUTSTREAM(OutS);
END;
END;
22. November 2021 22:58
22. November 2021 23:30
22. November 2021 23:43
If Blob.hasValue then begin
CalcFields(Blob);
.....
end;