Ownerbutton e a tal BackColor

Projeto HwGui - Biblioteca visual para Harbour/xHarbour

Moderador: Moderadores

Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7928
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

Ownerbutton e a tal BackColor

Mensagem 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.
Saudações,
Itamar M. Lins Jr.
Avatar do usuário
Itamar M. Lins Jr.
Administrador
Administrador
Mensagens: 7928
Registrado em: 30 Mai 2007 11:31
Localização: Ilheus Bahia
Curtiu: 1 vez

Ownerbutton e a tal BackColor

Mensagem 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.
Saudações,
Itamar M. Lins Jr.
Responder