by russimicro » Tue May 12, 2015 3:42 pm
EJEMPLO : samples\btntrans.prg
funcional igual(marco o fondo negra) a las imágenes anteriores
#include "FiveWin.ch"
//----------------------------------------------------------------------------//
function Main()
local oBru, oDlg, oBtn
DEFINE BRUSH oBru FILENAME "../bitmaps/Backgrnd/beach.bmp"
DEFINE DIALOG oDlg SIZE 400, 200 BRUSH oBru TRANSPARENT
@ 2, 2 SAY "Hello" OF oDlg
oDlg:aControls[ 1 ]:lTransparent = .t.
@ 70, 80 BTNBMP oBtn FILENAME "\FWH\bitmaps\16x16\exit2.BMP";
SIZE 50, 30 OF oDlg NOBORDER ACTION MsgInfo( "click" )
oBtn:lTransparent = .T.
ACTIVATE DIALOG oDlg CENTERED
return nil
//----------------------------------------------------------------------------//