Stefan Sicurella wrote:

Function CellBackgroundPaint(g As Graphics, row As Integer, column As Integer) 
As Boolean
if column=0 then
if me.cell(row,14)="1" then g.DrawPicture adr_16,1,1
end if
return true
End Function


Hat jemand eine Idee?

Ähnliches mache ich auch. Ist das Picture evt. Nil?

So sieht es bei mir aus:

   if column=1 then
     if me.cell(row,column)="1" then
       g.drawpicture buttonpressed,(g.width-buttonpressed.width)/2,0
     else
       g.drawpicture button,(g.width-button.width)/2,0
     end
     ...
   end

MfG, Metti.

Antwort per Email an