Page 1 of 1

Consulta sobre Ribbon

Posted: Tue Apr 12, 2011 2:52 pm
by MarioG
Gente;
En un Ribbonbar deseo agregar un say y lo hice de esta manera:

Code: Select all

   ADD GROUP aO[_GrpFlt] RIBBON aO[_Ribbon] TO OPTION 1 PROMPT "Filtros" WIDTH 320

   @14,10 SAY "Filtrar por..." OF aO[_GrpFlt] CSIZE 60,12 PIXEL TRANSPARENT
 
Pero el filtro sale con fondo color gris. Luego lo cambíe por:

Code: Select all

   ADD GROUP aO[_GrpFlt] RIBBON aO[_Ribbon] TO OPTION 1 PROMPT "Filtros" WIDTH 320

   @14,10 SAY "Filtrar por..." OF aO[_GrpFlt] COLOR CLR_BLACK, aO[_Ribbon]:nClrPaneRB SIZE 60,12 PIXEL TRANSPARENT
 
Pero no es el color de fondo del Grupo, y se ve así:
http://img857.imageshack.us/i/ribbon.jpg/

Cual sería la forma correcta?
gracias

Re: Consulta sobre Ribbon

Posted: Tue Apr 12, 2011 3:03 pm
by MarioG

Re: Consulta sobre Ribbon

Posted: Wed Apr 13, 2011 7:01 am
by Silvio
you must not use command say

but the command RBTN

then you must set the type SAYBUTTON

it show a say

Re: Consulta sobre Ribbon

Posted: Wed Apr 13, 2011 11:39 am
by MarioG
Thank Silvio