Como se obtiene el color de una toolbar 32 ???

Como se obtiene el color de una toolbar 32 ???

Postby TecniSoftware » Tue Jan 09, 2007 6:20 pm

La pregunta es simple:

Quiero usar otro tipo de botones que no son por medio de AddButton(),
sobre una toolbar32 y no se que color tengo que darle a los botones para que me queden en el mismo color de la toolbar.

Muchas gracias.

Alejandro Cebolido
Buenos Aires, Argentina.
User avatar
TecniSoftware
 
Posts: 235
Joined: Fri Oct 28, 2005 6:29 pm
Location: Quilmes, Buenos Aires, Argentina

Postby Antonio Linares » Wed Jan 10, 2007 5:54 am

Alejandro,

Si usas temas de XP entonces la toolbar no tiene un solo color uniforme, sino unos degradados
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

gracias

Postby TecniSoftware » Thu Jan 11, 2007 12:41 pm

Gracias Antonio por la respuesta, me lo imaginaba.
El tema es que estoy usando botones de la clase TSButton en las toolbars ( y funcionan de maravilla), por que tengo asi soporte de menus dropdown y además, estos botones son mucho mas configurables que los que puedo cargar por medio de AddButton(), el único inconveniente es que tengo una ligera diferencia entre el color de los botones y la toolbar.


Desde ya muchas gracias.
Alejandro Cebolido.
User avatar
TecniSoftware
 
Posts: 235
Joined: Fri Oct 28, 2005 6:29 pm
Location: Quilmes, Buenos Aires, Argentina

Postby Antonio Linares » Thu Jan 11, 2007 2:13 pm

Alejandro,

En las toolbar tienes también soporte de botones con menu dropdown
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

?

Postby TecniSoftware » Thu Jan 11, 2007 3:09 pm

Con toolbar y rebars? como se hace eso ?

Si estás hablando de de esto:

http://fivetechsoft.com/forums/viewtopi ... t=dropdown

yo no lo tengo disponible por que tengo el build de junio, o sea que me quedé corto por un mes!!!!

Salu2
User avatar
TecniSoftware
 
Posts: 235
Joined: Fri Oct 28, 2005 6:29 pm
Location: Quilmes, Buenos Aires, Argentina

Postby Antonio Linares » Thu Jan 11, 2007 8:16 pm

Alejandro,

Nosotros ofrecemos dos meses de actualizaciones gratuitas a partir de la fecha de compra ó actualización. Es algo que indicamos claramente cuando se procesa un pedido
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Antonio

Postby TecniSoftware » Thu Jan 11, 2007 8:25 pm

Efectivamente me quedé corto, mi compra fue el dia 20/04/2006.

Muchos saludos, Alejandro.
User avatar
TecniSoftware
 
Posts: 235
Joined: Fri Oct 28, 2005 6:29 pm
Location: Quilmes, Buenos Aires, Argentina

Postby James Bott » Sun Jan 14, 2007 9:12 pm

Alexander,

Utilizo una BITMAP del gradiente en la BITMAP toolbar y levemente diversa del gradiente en el botón tan los fósforos del color.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

?

Postby TecniSoftware » Mon Jan 15, 2007 1:14 pm

James:

Please, repeat your message and use ENGLISH. Are u using a translator from english to spanish? Please, use another translator...
Have a little example???

Thanks!!!
Alejandro.
User avatar
TecniSoftware
 
Posts: 235
Joined: Fri Oct 28, 2005 6:29 pm
Location: Quilmes, Buenos Aires, Argentina

Postby James Bott » Mon Jan 15, 2007 6:16 pm

Alejandro,

Sorry, I used the Google translator for the first time and didn't even look at the output because I was in a hurry.

I use a gradient bitmap on both the toolbar and the button.

Here is an example:

Code: Select all  Expand view

   define brush oBrush resource "ltbluegradient"

  //--- Buttonbar
   // Note: Group bars only show when it is 3d, and 3d looks bad.
   // This is a bug in TSBar that needs fixing.
   DEFINE sBUTTONBAR oBar size 27,27 OF oWnd //3D
   oBar:blClicked:={||.t.}
   oBar:setBrush( oBrush )

define sbutton of oBar ;
      resource "find";
      brush oBrush;
      action (current():find(), current():setFocus());
      tooltip "Find"

User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

.

Postby TecniSoftware » Mon Jan 15, 2007 8:12 pm

Thank you James.

Regards.
Alejandro.
User avatar
TecniSoftware
 
Posts: 235
Joined: Fri Oct 28, 2005 6:29 pm
Location: Quilmes, Buenos Aires, Argentina


Return to FiveWin para Harbour/xHarbour

Who is online

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