Página 1 de 1

Ownerbutton e a tal BackColor

Enviado: 23 Ago 2018 19:42
por Itamar M. Lins Jr.
Ola!
Pedido do Alexadre Simões:

Código: Selecionar todos

Can you add BACKCOLOR to OWNERBUTTON?

Note:  I'm trying to re-use the SVN version

Sample:
   @ 205,03 OWNERBUTTON oLabelUltimoAcesso;
   TEXT "Acessos Recentes"  SIZE 170,24 OF oTelaPrincipal:screen;
   FLAT;
   BACKCOLOR Rgb(255, 255, 255);
   ON CLICK {|| IIF(MENU_CONTEXT(),(oTelaPrincipal:OPOPUP:SHOW(
oTelaPrincipal )),),.T. };
   TOOLTIP 'Clique Aqui para acessar rapidamente os 20 menus mais usado'
Eras depois do pedido a resposta.
Ok, I shall add it.
But, anyway, using of :aStyle is preferred.

Regards,
Alexander.
Também não explica né ? QUe tem esse tal :aStyle, entretanto vejo isso mais como questão de compatibilidade com a 1.17.

Saudações,
Itamar M. Lins Jr.

Ownerbutton e a tal BackColor

Enviado: 26 Ago 2018 16:30
por Itamar M. Lins Jr.
Ola!
Adicionou.

Código: Selecionar todos

2018-08-24 15:15 UTC+0300 Alexander Kresin <alex@...>
  * include/guilib.ch
  * source/winapi/hownbtn.prg
    * BACKCOLOR clause added to Ownerbutton for compatibility with some old code.
      It is highly recommended. though, to use :aStyle instead
Saudações,
Itamar M. Lins Jr.