Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alternate row color 1

Status
Not open for further replies.

nvtluong

Programmer
Oct 24, 2003
4
0
0
US
Hi,

I have a frame which displays multiple rows from 1 DataStream. My question is how to alternate the row color between 2 colors, for example White and Blue?

Thanks,

nvtluong.
 
never mind. I found it. Override the OnRow method of the frame. Then set the condition:

If row.RowNumber mod 2=0 Then
BackgroundColor=Blue 'Put any color here
End If
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top