Hallo !
Ich versuche, anstatt des SUBMIT buttons des SEARCH formulars ein image anzeigen zu lassen.
TSref sagt mir zum property image von FORM:
image
->IMAGE (cObject)
If this is a valid image the submitbutton is rendered as this image!!
NOTE: CurrentValue is set to the caption-label before generating the image.
Daraus werde ich aber nicht so recht schlau. Wie kann ich anstatt des SUBMIT-Buttons ein Image darstellen ???
Hier mein script:
page = PAGE
page.typeNum = 0
page.10 < styles.content.get
tt_content.search.30.dataArray{
10.label = Suchen
20.type = scols=
20.label =
40.image = IMAGE
40.image.file = augen.jpg
40.type = submit = submit
}
PS: Das bild wird korrekt dargestellt, wenn ich es z.B. auf page setze
Vielen Dank im voraus !!
gruss,
René Ott