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

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

Postby ukoenig » 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 :

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
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

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

Postby ukoenig » Sun Mar 16, 2008 1: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 ?

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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests