[fxruby-users] Re: Problem with setCellColor ?

Lyle Johnson lyle at knology.net
Wed Feb 2 05:48:05 EST 2005


On Feb 2, 2005, at 5:47 PM, dragoncity wrote:

> am having problems with FXRuby 1.2 setting a cells color,
> In the following code snippet,  the variables rcnt & FLDFilename
> are progam controlled, the two lines before the "puts" execute OK, 
> neither of
> the setCellColor versions execute , both fail with
>
>  `setCellColor': table row out of bounds ,
>
> which is not true - have tried various fixed value indexes ( non work)

Please see the API documentation for FXTable, found here:

	http://www.fxruby.org/doc/api/classes/Fox/FXTable.html

The valid values for the first two arguments to setCellColor() are zero 
and one.

Lyle



More information about the fxruby-users mailing list