by mastintin » Mon Dec 28, 2015 3:37 pm
en el codigo que crea los botones ...
- Code: Select all Expand view
METHOD CreateButtons() CLASS TXBrwColumn
..........
if ::oBtnElip != nil
::oBtnElip:End()
endif
@ 0,0 BTNBMP ::oBtnList RESOURCE "" OF ::oBrw NOBORDER SIZE 0,0
WITH OBJECT ::oBtnList
if Empty( aBitmap )
:hBitmap1 := FwDArrow()
else
:hBitmap1 := aBitmap[ BITMAP_HANDLE ]
:hPalette1 := aBitmap[ BITMAP_PALETTE ]
:HasAlpha( :hBitmap1, 1 ) // nuevo
endif
:bAction := { || ::ShowBtnList() }
:SetFont( ::DataFont )
:SetColor( aColors[ 1 ], aColors[ 2 ] )
END
@ 0,0 BTNBMP ::oBtnElip OF ::oBrw NOBORDER SIZE 0,0 CENTER
WITH OBJECT ::oBtnElip
if Empty( aBitmap )
:cCaption := IfNil( ::cBtnCaption, "..." )
else
:hBitmap1 := aBitmap[ BITMAP_HANDLE ]
:hPalette1 := aBitmap[ BITMAP_PALETTE ]
:cCaption := ""
:HasAlpha( :hBitmap1, 1 ) // nuevo
endif
:bAction := {|| ::RunBtnAction() }
:SetFont( ::DataFont )
:SetColor( aColors[ 1 ], aColors[ 2 ] )
END
.......................
-
mastintin
-
- Posts: 1516
- Joined: Thu May 27, 2010 2:06 pm
by nageswaragunupudi » Tue Dec 29, 2015 10:21 pm
Thanks
Included for next release
Regards
G. N. Rao.
Hyderabad, India
-
nageswaragunupudi
-
- Posts: 10639
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
-
Return to FiveWin para Harbour/xHarbour
Who is online
Users browsing this forum: Google [Bot], russimicro and 43 guests