Link to home
Start Free TrialLog in
Avatar of Toutou la bella
Toutou la bella

asked on

Alternate a group of line DBGRID Delphi 7

IUser generated image want to color by alternating a group of line DBGRID according to the reference (RefBac) if the reference changes the color change (blue / white / blue / white ...) is it possible ? if it's possible how can i do this ? or it is what it is Possible to separate the groups of rows with each change by a bold line? you find a capture of the result that I want to have
Capture.PNG
Avatar of Geert G
Geert G
Flag of Belgium image

get devexpress quantumgrid or tms grid
it's a feature of those
https://www.devexpress.com/products/vcl/exquantumgrid/
https://www.tmssoftware.com/site/gridpack.asp

why would you do it yourself when you can just throw a bit of money at it ?

the bold line requires more work, custom painting the complete cell
outer cell border filled with a background

if you really want to do it yourself ... here is a link to a sample:
http://www.tek-tips.com/viewthread.cfm?qid=649955
http://www.swissdelphicenter.ch/en/showcode.php?id=273
ASKER CERTIFIED SOLUTION
Avatar of Ferruccio Accalai
Ferruccio Accalai
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
uh-oh
global variables ?
Avatar of Toutou la bella
Toutou la bella

ASKER

Thank you Ferruccio Accalai i got the result that i want to see i really appreciate your effort

To Geert Gruwez i would like to thank you and i will try to get devexpress quantumgrid to work with it .
you'll need to look at the cost versus benefits
if this is in a company, then you could think about that

if this is for yourself, then it's a rather costly solution
When you get a result it's a good thing to accept an answer and close the question. Anyway glad to have helped you
Sorry I am a beginner I do not know that I am obliged to close the question