FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour rbbtn en FVW10.6 serĂ­a posible usar SkinButtons()
Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
rbbtn en FVW10.6 serĂ­a posible usar SkinButtons()
Posted: Fri Jun 25, 2010 01:08 PM

Hola Antonio:

Seria posible que los rbtns usados solos (no en la ribbon), puedan aceptar la clausula SkinButtons()

Muchas gracias y saludos

Ruben Fernandez

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 PM
Re: rbbtn en FVW10.6 serĂ­a posible usar SkinButtons()
Posted: Fri Jun 25, 2010 01:50 PM

Ruben

SkinButton() es una funcion que trabaja sobre los botones standar de api de window, la clase TRBtn es propia de fivewin y es totalmente parametrizable com todos sus colores

puedes revisar en el comando y verificar la forma de creacion: http://wiki.fivetechsoft.com/doku.php?i ... _ribbonbar
y las datas desde aqui: http://wiki.fivetechsoft.com/doku.php?i ... lase_trbtn

o bien puedes mirar internamente la clase

Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Re: rbbtn en FVW10.6 serĂ­a posible usar SkinButtons()
Posted: Fri Jun 25, 2010 02:47 PM

Gracias Daniel:

No he podido hacerlo funcionar.. aqui el ejemplo

 REDEFINE RBBTN oBoton2  ID 250 OF oDlg     NORMAL ;
           ACTION ( lRegistroSale:=.t., oDlg:End()) BITMAP "SALIR2"  ;
           PROMPT "&Cancelar"  LEFT  BORDER ROUND  ;  
           GRADIANT { { 1/3, nRGB( 254, 154, 128 ), nRGB( 254, 154, 128 ) } , ;
                     { 2/3, nRGB( 252, 85, 40 ), nRGB(181, 61, 29 ) } } ;
           LINECOLORS RGB( 249, 194, 179 ), RGB( 181, 61, 29 )

  oBoton2:SetFont(oFont3)  
  oBoton2:cToolTip := { " " + CRLF + "Cancelar y Salir", "No guardar" }

Alguna sugerencia? Gracias

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82

Continue the discussion