Board index » cppbuilder » String Grid color problem

String Grid color problem

Hi there !
How can I easly change color of font text in rows (diferent colors in
rows, that the aim).
Thanx.
_croco:)
 

Re:String Grid color problem


Quote
mr_croco wrote:

> Hi there !
> How can I easly change color of font text in rows (diferent colors in
> rows, that the aim).

The only effective answer I can find to this is to write an OnDrawCell even
handler and draw the cells by hand.  That way you can draw anything you like
in the boundaries of the grid, but in my experience it will require a bit of
work to get it looking just right

--
Corey Murtagh
The Electric Monk
"Quidquid latine dictum sit, altum viditur!"

Re:String Grid color problem


Try this adress

http://bcbcaq.freeservers.com/sg_color.html

it's a simple example but it should give you the main idea ...

HTH

CheGueVerra

Quote
mr_croco <cr...@taureus.sk> wrote in message

news:3A7AB138.ED9EBB17@taureus.sk...
Quote
> Hi there !
> How can I easly change color of font text in rows (diferent colors in
> rows, that the aim).
> Thanx.
> _croco:)

Re:String Grid color problem


Quote
> How can I easly change color of font text in rows (diferent colors in
> rows, that the aim).

You can draw it yourself, using the OnDrawCell event.

Or, even better, you can get a new component that handles it better.
There's a million of them out there. Here's a sampler of some I've found:

Orpheus by TurboPower : huge toolkit, pretty expensive, does everything
  http://www.turbopower.com

ExpressGrid by Developer Express : http://www.devexpress.com/products/pexpgrid.html

Colosseum Builders TColossalGrid : For some reason they've stopped "supporting Borland
products", but:
  http://www.colosseumbuilders.com/inprise.htm

Top Support's TopGrid : http://www.topsupport.com/

TMS software's TAdvStringGrid : I've used this one in the past and it's pretty good.
  http://www.tmssoftware.com/

IMCA Systems TFlyGrid: http://www.imcasys.com/

Woll2Woll's Infopower: http://www.woll2woll.com

ProfGrid : http://www.geocities.com/profgrid

And, of course, check out Torry's for more:

http://www.torry.webnorth.com/index.htm

+=====================================================+
| Jonathan Arnold (mailto:jdarn...@buddydog.org)      |
|         Comprehensive C++Builder link site:         |
| http://www.buddydog.org/C++Builder/c++builder.html  |
+=====================================================+

Other Threads