TO GURUS : TRANSPARENT ERROR WITH XBROWSE

Re: TO GURUS : TRANSPARENT ERROR WITH XBROWSE

Postby Daniel Garcia-Gil » Tue Jan 27, 2009 10:40 pm

ukoenig....

i'll do test
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: TO GURUS : TRANSPARENT ERROR WITH XBROWSE

Postby ukoenig » Wed Jan 28, 2009 11:28 pm

Hello Daniel, Silvio

I tested every possible combinations.
Using xBrowse inside the Main-Window, or inside a Dialog from resources, is no difference.
Changing the < nMarqueeStyle > I got different results :
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLCELL // OK
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW // Hides the BMP of the selected Row
Using :
aeval( oBrw:aCols, { |o|o:lColTransparent := .t. } ) // OK
-------------------------------------------------------------------------------------------------------
Maybe Silvio can test it as well if it works with his application ?

oBrw:nMarqueeStyle := MARQSTYLE_HIGHLCELL
Image

oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROW
Image
Code: Select all  Expand view
@ 0,0 XBROWSE oBrw ;
      HEADERS "No.", "Column 2", "Column 3" ;
      COLSIZES 50, 200, 200  SIZE 500, 420 ;
      OF oWnd ;
      ARRAY aData5 AUTOCOLS

oBrw:nRecSelColor = 15512898
oBrw:nColDividerStyle := LINESTYLE_BLACK
oBrw:nRowDividerStyle := LINESTYLE_BLACK
oBrw:nMarqueeStyle :=  MARQSTYLE_HIGHLROW  // Not working
//  oBrw:nMarqueeStyle :=  MARQSTYLE_HIGHLCELL // Works
oBrw:bClrSelFocus = { || { 16777215, 128 } }     // Selected Row
oBrw:bClrSel = { || { 16777215, 128 } }               // LostFocus

DEFINE IMAGE oImage1 RESOURCE "Help"
oBrw:nRowHeight := oImage1:nWidth() + 4
oImage1:End()
DEFINE BRUSH oBrush5 COLOR 16105859
oBrw:SetBackGround( oBrush5 )
RELEASE BRUSH oBrush5
oBrw:aCols[ 1 ]:addbmpfile("help.bmp")
oBrw:aCols[ 1 ]:addbmpfile("floppy.bmp")
oBrw:aCols[ 2 ]:addbmpfile("help.bmp")
oBrw:aCols[ 2 ]:addbmpfile("floppy.bmp")
oBrw:aCols[ 1 ]:bBmpData := {|| if( oBrw3:nArrayAt() % 2 == 0, 1, 2 ) }
oBrw:aCols[ 2 ]:bBmpData := {|| if( oBrw3:nArrayAt() % 2 == 0, 1, 2 ) }

Regards
Uwe :lol:
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

Re: TO GURUS : TRANSPARENT ERROR WITH XBROWSE

Postby Silvio » Mon Feb 02, 2009 10:37 am

oApp():oGrid:nMarqueeStyle :=MARQSTYLE_HIGHLCELL
run ok but I want see the bar on all one row and not one cell
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 85 guests