this is a image of my application
and I have some graphics errors
the first U can see the arrow on the header of xbrowse : all not are trasparent
then there is an image on msgiten the space of each iten not is with the brush of 2007 style
How to correct it ?
question about new 7.12 ( xbrowse and msgitem)
question about new 7.12 ( xbrowse and msgitem)
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
Antonio,
I have the same problem with btnbmp
I have rem line 790 and I have insert these lines
Gradient( ::hDC, { 0, 0, ::nHeight / 4, ::nWidth },;
If( ! ::lMOver, nRGB( 219, 230, 244 ), nRGB( 255, 253, 222 ) ),;
If( ! ::lMOver, nRGB( 207, 221, 239 ), nRGB( 255, 231, 151 ) ), .T. )
Gradient( ::hDC, { ( ::nHeight / 4 ) + 1, 0, ::nHeight, ::nWidth },;
If( ! ::lMOver, nRGB( 201, 217, 237 ), nRGB( 255, 215, 84 ) ),;
If( ! ::lMOver, nRGB( 231, 242, 255 ), nRGB( 255, 233, 162 ) ), .T. )
it run ok when I use this command
I can see office style and id the mouse over the button change look
But the bitmaps are not trasparent
Any Idea ?
I have the same problem with btnbmp
I have rem line 790 and I have insert these lines
Gradient( ::hDC, { 0, 0, ::nHeight / 4, ::nWidth },;
If( ! ::lMOver, nRGB( 219, 230, 244 ), nRGB( 255, 253, 222 ) ),;
If( ! ::lMOver, nRGB( 207, 221, 239 ), nRGB( 255, 231, 151 ) ), .T. )
Gradient( ::hDC, { ( ::nHeight / 4 ) + 1, 0, ::nHeight, ::nWidth },;
If( ! ::lMOver, nRGB( 201, 217, 237 ), nRGB( 255, 215, 84 ) ),;
If( ! ::lMOver, nRGB( 231, 242, 255 ), nRGB( 255, 233, 162 ) ), .T. )
it run ok when I use this command
Code: Select all
REDEFINE BTNBMP oBtn1 ID 1 OF oDlt ;
FILE ".\bitmaps\ok.BMP" ;
ACTION(lReg:=.T.,oDlt:End()) ;
PROMPT " Conferma" LEFT
REDEFINE BTNBMP oBtn2 ID 2 OF oDlt ;
FILE ".\bitmaps\SEL2.BMP";
ACTION oDlt:End() ;
PROMPT " Annulla" LEFT
But the bitmaps are not trasparent
Any Idea ?
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio I recompiled with the last lib
but there is an error :
I made a xbrowse with bitmaps on header tosayto user wich field index
on the header of Xbrowse I not see the bitmaps
when I click on each header I can see the bitmap on the left of the records
this is a part of my code
oCol:= oApp():oGrid:AddCol()
oCol:AddResource("sort1") oCol:AddResource("sort2") oCol:bStrData := { || (oDCli)->NOMEINTERO}
oCol:cHeader := "Cognome Nome"
oCol:nWidth := 250
oCol:nHeadBmpNo := 2
oCol:nHeadBmpAlign := AL_RIGHT
oCol:bLClickHeader :={ ||(Sel_Index(2,oDCli), oApp():oTab:nOption:=2,oApp():oTab:refresh()) }
Also in your sample testxbrowse there is an error
look it please
but there is an error :
I made a xbrowse with bitmaps on header tosayto user wich field index
on the header of Xbrowse I not see the bitmaps
when I click on each header I can see the bitmap on the left of the records
this is a part of my code
oCol:= oApp():oGrid:AddCol()
oCol:AddResource("sort1") oCol:AddResource("sort2") oCol:bStrData := { || (oDCli)->NOMEINTERO}
oCol:cHeader := "Cognome Nome"
oCol:nWidth := 250
oCol:nHeadBmpNo := 2
oCol:nHeadBmpAlign := AL_RIGHT
oCol:bLClickHeader :={ ||(Sel_Index(2,oDCli), oApp():oTab:nOption:=2,oApp():oTab:refresh()) }
Also in your sample testxbrowse there is an error
look it please
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: