Dear Friends,
After hardly trying, I could'nt find a way to paint each individual cell of an Fw Browse... The class simply haven't got an especific method to do that... In spite of it's methods can paint a column or a row, there's no way to paint only one cell!
I've asked the same question in brazilian fw forum and they told me to try the TsBrowse Class, but I could not compile it using FWH 2.7 + xHarbour 0.99.1...
Can someone here help me to solve this issue?
Best Regards,
Guilherme J. S. Gonçalves
Campinas - SP - Brasil
Painting browse cells
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Guilherme,
If you review source\classes\wbrowse.prg you will find at the bottom a static function wBrwLine() which is responsable for painting each line.
In its code, there is a loop where each cell is painted:
If you review source\classes\wbrowse.prg you will find at the bottom a static function wBrwLine() which is responsable for painting each line.
In its code, there is a loop where each cell is painted:
Code: Select all
for n := nColPos to Len( aValues )
... each cell is painted ...
next