Page 1 of 1

xBrowse Cell-Bitmap-Adj. with METH. aCellCors(nRow,nCol) ?

Posted: Sat Mar 15, 2008 10:08 pm
by ukoenig
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 :

Image

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]

Posted: Sun Mar 16, 2008 11:54 am
by Antonio Linares
Uwe,

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

To get the bitmaps expanded up to the cell borders ?

A better sample what i mean with <Cell-Brush >

Posted: Sun Mar 16, 2008 1:04 pm
by ukoenig
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 ?

Image

Regards
uwe :lol: [/img]