Page 1 of 1

Centered..MsgItem ...

Posted: Thu Jan 24, 2008 8:07 pm
by Ale SB
Como posso centralizar los itens, na MgsItem:

1-)
Image

2-)
Image

Saluds

Posted: Fri Jan 25, 2008 11:13 am
by Antonio Linares
Ale,

Modifica el método Paint() de la Clase TMsgItem.

En FWH 8.02 esta correctamente implementado

Posted: Fri Jan 25, 2008 12:03 pm
by Ale SB
Maestro....precisamente...qual Linha...devo mudar ?

Saluds

Posted: Fri Jan 25, 2008 1:39 pm
by Antonio Linares
::oMsgBar:Say( ::oMsgBar:nHeight / 4 - 2,;
nLeft + 3 + ( ::nWidth - GetTextWidth( hDC, AllTrim( ::cMsg ) ) ) / 2,;
AllTrim( ::cMsg ), If( ::lActive, ::nClrText, ::nClrDisabled ),;
::nClrPane, ::oFont, .T., .T. )

Posted: Fri Jan 25, 2008 5:08 pm
by Ale SB
Perfect Maestro.....Gracias

Saluds