realbasic-nug.de
[Top] [All Lists]

Re: Cellbackgroundpaint und cellcheck

To: Realbasic <realbasic-nug dot de at lists dot realsoftware dot com>
Subject: Re: Cellbackgroundpaint und cellcheck
From: Marco Weinrich <m dot a dot r dot c dot o at quartnet dot de>
Date: Fri, 23 Sep 2005 14:02:15 +0200
Delivered-to: realbasic-nug dot de at lists dot realsoftware dot com
> In diesem Event bekommst du doch als Parameter noch die Zeile und
> Spalte, jetzt musst du halt einfach noch prüfen ob die Spalte = 0
> ist, denn 0 ist  die erste Spalte.
> 
> If column = 0 then
>>   If me.cellcheck(row,2) then
>>     g.foreColor=RGB(158,238,255)
>>   else
>>     g.foreColor=RGB(255,255,255)
>>   end if
>>   g.FillRect 0,0,g.width,g.height
> end if
> 
> gruss Christiaan

Richtig.. Und danke! Warum geht dieser Code in RB 2005 (r2) nicht? Bekomme
nur immer "out of bounds"-fehler obwohl dieser in RB 5.5.3 läuft, ist das
ein bug oder muss ich es da anders machen?

Gruss Marco



<Prev in Thread] Current Thread [Next in Thread>