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
- Code: Select all Expand view RUN
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
I can see office style and id the mouse over the button change look
But the bitmaps are not trasparent
Any Idea ?