| Ken Mayer [dBVIPS] 2005-04-06, 8:01 pm |
| Jean-Pierre Martel wrote:
> In article <MPG. 1c9cd54e208fdf729896
f9@news.dbase.com>, nospam@nospam.com
> says...
>
>
>
> Actually that function can made more simple.
>
> Function EditorControl_before
CellPaint
> if type("this.nRow") == "U"
> this.nRow = 0
> endif
> if this.nRow = 0
> this.colorNormal = "black/LightGrey"
> endif
> this.nRow = iif(this.nRow=0, 1, 0)
> return
If you get a chance to play with this some more, JP, watch what happens
if you are in the first column and moving down, you end up on a white
row, then move to the next column. When you move up/down you end up with
the second column being off-set color-wise. (Step-by-step:
Down arrow to row 6
Right arrow to column2
Up arrow
watch what happens to colors ...)
I haven't found a way around it, but this is not exactly optimal, IMO
.... I tried playing with the concepts and haven't found anything that
worked.
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
|