Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GridHighlighther
Message
From
24/06/2002 07:32:28
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russia
 
 
To
24/06/2002 05:53:34
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00671568
Message ID:
00671575
Views:
17
>Hi,
>How could I do the following with gridhighlighter?
>
>1. I want the left most column of grid to be READONLY.
>2. I want the left most column's control to be container.
>3. I want highlight the row except column 1.
>4. I want to active header and cell to be coloured except column 1.
>
>I have try to do some ways to achieve the above, but not sucsess. Hmm.. i think is better to get your suggestion before I show my "failed" code.
>
>Thank you
To higligh headers
put in beforrowcolchange
If type('this.activecolumn')='N' and ;
this.activecolumn>=2 and this.activecolumn<=this.columncount
This.columns[this.activecolumn].header1.forecolor=rgb(0,0,0)
Endif
in afterrowcolchange
If type('this.activecolumn')='N' and ;
this.activecolumn>=2 and this.activecolumn<=this.columncount
This.columns[this.activecolumn].header1.forecolor=rgb(0,0,255)
Endif
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Previous
Reply
Map
View

Click here to load this message in the networking platform