I am Using TDBGrid
How to draw a text Discountinue (RightJustify) on the existing row data in a dbgrid
For Example
ProductId ProductName
1 Harddisk 10GB Model A 7200rpm
2 Harddisk 40GB Model B 7200rpm
3 Memory 16mb SDRAM model A
Because product 1 & 3 is not active/not for sales.
I want change my data in dbgrid to
ProductId ProductName
1 Harddisk 10GB Model Discountinue
2 Harddisk 40GB Model B 7200rpm
3 Memory 16mb SDRAMDiscountinue
Text 'Discountinue' appears like a blue panel which font color red.
Thank's
How to draw a text Discountinue (RightJustify) on the existing row data in a dbgrid
For Example
ProductId ProductName
1 Harddisk 10GB Model A 7200rpm
2 Harddisk 40GB Model B 7200rpm
3 Memory 16mb SDRAM model A
Because product 1 & 3 is not active/not for sales.
I want change my data in dbgrid to
ProductId ProductName
1 Harddisk 10GB Model Discountinue
2 Harddisk 40GB Model B 7200rpm
3 Memory 16mb SDRAMDiscountinue
Text 'Discountinue' appears like a blue panel which font color red.
Thank's