Hola a todo el mundo.
Seria posible, modificar la classe TOutLook2003, con los colores de 2007 ?
Muchas gracias.
Hola a todo el mundo.
Seria posible, modificar la classe TOutLook2003, con los colores de 2007 ?
Muchas gracias.
#define LIGHTBLUE nRGB( 89, 135, 214 )
#define DARKBLUE nRGB( 3, 56, 147 )
#define LIGHTORANGE1 nRGB( 250, 227, 143 )
#define DARKORANGE1 nRGB( 238, 152, 25 )
#define LIGHTCYAN nRGB( 203, 225, 252 )
#define DARKCYAN nRGB( 125, 165, 224 )
#define LIGHTORANGE2 nRGB( 255, 255, 220 )
#define DARKORANGE2 nRGB( 247, 192, 91 )Muchas gracias Antonio, ya esta resuelto.
Hola:
¿Cuál son esos valores?.
Muchas gracias
#include "Colors.ch"
// Colors Office 2007
#define BLUEBOX0 RGB( 141, 178, 227 )
#define BLUEBOX1 RGB( 197, 210, 223 )
#define BLUEBOX2 RGB( 237, 242, 248 )
#define BLUE0 RGB( 218, 229, 243 )
#define BLUE1 RGB( 199, 216, 237 )
#define BLUE2 RGB( 194, 217, 240 )
#define BLUE3 RGB( 191, 219, 255 ) DATA l2007 INIT .F.Local aGradGradient( ::hDC, { nTop, 0, nTop + 7, ::nWidth() }, DARKBLUE, LIGHTBLUE, .T. )If ::l2007
aGrad := { {0.3, BLUE0, BLUE0 }, { 0.7, BLUE1, BLUE0 } }
GradientFill( ::hDC, nTop , 0, nTop + 7, ::nWidth() , aGrad )
Else
Gradient( ::hDC, { nTop, 0, nTop + 7, ::nWidth() }, DARKBLUE, LIGHTBLUE, .T. )
EndIf DATA l2007 INIT .F.local aGrad,aGradHigh,aGradOver Gradient( hDC := oCon:GetDC(), { nTop, 0, nTop + 30, oCon:nWidth() },;
If( lOver, If( ::lSelected, ::nClrEnd, LIGHTORANGE2 ), ::nClrStart ),;
If( lOver, If( ::lSelected, ::nClrStart, DARKORANGE2 ), ::nClrEnd ), .T. )If ::l2007
aGrad := { {0.3, BLUE0, BLUE0 }, { 0.7, BLUE1, BLUE0 } }
aGradHigh := { {1/3, nRGB( 253,212,168 ), nRGB( 251,178,99 ) }, {2/3, nRGB( 250,157,52 ), nRGB( 252,234,163 ) } }
aGradOver := { {1 , nRGB( 255,215,84), nRGB( 255, 253, 222 ) } }
GradientFill( hDC := oCon:GetDC() , nTop, 0, nTop + 30, oCon:nWidth() , If( lOver, aGradOver , If( ::lSelected , aGradHigh , aGrad) ) )
Else
Gradient( hDC := oCon:GetDC(), { nTop, 0, nTop + 30, oCon:nWidth() },;
If( lOver, If( ::lSelected, ::nClrEnd, LIGHTORANGE2 ), ::nClrStart ),;
If( lOver, If( ::lSelected, ::nClrStart, DARKORANGE2 ), ::nClrEnd ), .T. )
EndIf
Pere,
Gracias por poner la imagen,
si, se ve bien ![]()
Antonio:
¿Y por qué los botones look 2007 no se ven como el azul de esa foto?.
gracias ![]()
Muy interesante ![]()