Hello,
I need a REPORT-sample of a Image-list with MEMOS.
The images are adjusted to a given width ( keeping ratio )
and the row height to a given image-height if the memolines less this value
or using the maximum height of the memos INFO1 - 3
Any sample exists ?
The DBF-structure :
IMAGE C 25
INFO1 M 10
INFO2 M 10
INFO3 M 10
STATIC FUNCTION PRINT_ST1()
LOCAL oReport, aImgList := {}
DBSELECTAREA("STYLE1")
Maxbe printing with a defined Image-array ?
DBGOTOP()
I := 1
DO WHILE !EOF()
AADD( aImgList, STYLE1->IMAGE )
DBSKIP(+1)
ENDDO
DBGOTOP()
REPORT oReport TITLE "*** IMAGES STYLE 1 ***","" PREVIEW ;
FONT oFONT2
????? IMAGES
COLUMN TITLE "Info 1" DATA STYLE1->INFO1 SIZE 15 MEMO
COLUMN TITLE "Info 2" DATA STYLE1->INFO2 SIZE 15 MEMO
COLUMN TITLE "Info 3" DATA STYLE1->INFO3 SIZE 15 MEMO
END REPORT
ACTIVATE REPORT oReport
RETURN NIL
Best Regards
Uwe