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

Post Reply
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

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

Post 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]
Last edited by ukoenig on Sun Mar 16, 2008 7:40 pm, edited 1 time in total.
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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

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

Post 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]
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.
Post Reply