FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse Cell-Bitmap-Adj. with METH. aCellCors(nRow,nCol) ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
xBrowse Cell-Bitmap-Adj. with METH. aCellCors(nRow,nCol) ?
Posted: Sat Mar 15, 2008 10:08 PM
Hello,

I just started, to use graphics in xbrowse.

As a substitute for brushes, i could create Bitmaps.
But when i do this, the bitmap must be adjusted to
the cell-size and the text has to be shown on top
of the bitmap not right hand side.
In the moment it looks like :



There are some topics about, how a bitmap is shown in a cell / Col.
Is it not possible, to do it the other way, a adjust of the bitmap
belongs the cell-size ?

oBrw6:aCols[ 2 ]:AddResource("Diacross") => ADJUST with Cell-dimension ?
oBrw6:aCols[ 2 ]:bBmpData := {|| 1 }
oBrw6:aCols[ 2 ]:bStrData := {|| "TEST" } => Text OVER Bitmap if used as Brush ?

Maybe something like that, is possible in the future ?

Regards
Uwe[/img]
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
xBrowse Cell-Bitmap-Adj. with METH. aCellCors(nRow,nCol) ?
Posted: Sun Mar 16, 2008 11:54 AM

Uwe,

Your screenshot looks fine. What would you like to change in it ?

To get the bitmaps expanded up to the cell borders ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
A better sample what i mean with <Cell-Brush >
Posted: Sun Mar 16, 2008 01:04 PM
Antonio,

Here is a better sample, what i mean.

Today i had a look a the Update of 8.03

there i found a new METHOD aCellCors( nRow, nCol ).
( Returns > Top, Left, Bottom, Right of a cell.

I think, with this information it could be possible, to fill
the cell complete with a Brush / Bitmap ?



Regards
uwe :-) [/img]
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion