Antonio,
thank you very much, i will add choice 2 to the source.
The function is added to the Version 1c
download :
http://www.pflegeplus.com/fw_downloads/BRWTools1.zip
I still found out something else :
1. I have row-colors ( lightblue / white )
2. I paint a brush and then a cell-bitmap on top of it.
The cell-bitmap-background shows the color from the
rows, i have painted before ( lightblue and white ).
It seems, the row-colors still exists from the painting before
and the background-brush is shown on top of it.
Maybe there is a special way, to delete the old colours, before the brush is painted ?
It might be a runtime-problem ( it is not the normal way, somebody
defines brushes ).
Cell-bitmaps on the first color-selection, are shown correctly.
I could try, to do a new preview in a extra window.
I think, it will work there. It is the same problem, like painting a Col on Rows in a different color
and then trying to repaint the rows to delete the Column-color.
Maybe a solution of < SetBackGround( ) > for colors ?
I changed the Brush-function and added < SetBackGround( ) >,
but no difference.
I think < SetBackGround( ) > works only with brushes and not with colors.
Code: Select all | Expand
STATIC FUNCTION BRW_BACKGRD( oLbx0 )
Local oBrush
oLbx0:SetBackGround( ) // !!!!!!!!
DEFINE BRUSH oBrush FILENAME LOGO1
oLbx0:SetBackGround( oBrush )
RELEASE BRUSH oBrush
oLbx0:Refresh()
return nil
Regards
Uwe
![Laughing :lol:](./images/smilies/icon_lol.gif)