Autor Beitrag
nikoskapa
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Di 06.06.06 21:36 
Hallo everyone

I'm using the TDBAdvGrid to display my DataSource records of a SQL Query.

What I want is to have background color clInfoBk on rows 1, 3, 5, 7, etc and background color clWindow on rows 2, 4, 6, 8, etc.

I set the Bands.Active property to true but nothing happens.

Waiting for your wisdom...

Nikos
digi_c
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1905

W98, XP
D7 PE, Lazarus, WinAVR
BeitragVerfasst: Mi 07.06.06 05:27 
Hi there. I doesn't know exatcly this component but it might be that it had to be done like in a normal Datagrid using the OnCellDrawEvent.

Oh and please move this topic to the "Datenbanken" folder which means database in english.