Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Dynamic backcolor of shape
Versions des environnements
Hello everybody
In my report i manipulate the backcolor of all textboxes in a row with the following in the user field.(prg_render is a example found somewhere in the net)
*:LISTENER||BACKCOLOR|| ICASE(listwahl.feiertag1 <> ' ',255,
SUBSTR(listwahl.tag1,4,2) = 'So',12632256,
SUBSTR(listwahl.tag1,4,2) = 'Sa',12632256,16777215)
I call my report with:
loListener = newobject('MyReportListener_Directives','prg_render.prg')
loListener.AllowModalMessages = .t.
loListener.DynamicLineHeight = .t.
loListener.ListenerType = 1
report form b_myreport.frx TO PRINTER PROMPT preview object loListener
Holidays get red backcolor,weekend grey backcolor
Everything works as expected.
Now i tried to put a shape around my detail record and manipulate the backcolor of this shape, not the backcolor of every textbox.
But the shape never changes its backcolor.
I has nothing to do with the icase...
*:LISTENER||BACKCOLOR||12632256 should change every shape to backcolor grey, but no success
Is there a difference between handling textboxes and shapes ??
What do i miss?
Any help welcomed
Best regards
Albert
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement