FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Problemas con IMAGE
Posts: 537
Joined: Mon Jan 16, 2006 03:42 PM
Problemas con IMAGE
Posted: Tue Sep 10, 2013 01:46 PM

Hola amigo estoy poniendo varias imagenes:por ejemplo

DEFINE DIALOG oDlg FROM 0,0 TO 45,150 TRANSPARENT

@ 55,5 IMAGE oimage OF oDlg file ".\ima\bus.bmp" SIZE 622,226 PIXEL NO BORDER

@ 83 , 134 IMAGE aGestx OF oDlg file ".\ima\asiento.bmp" SIZE 22,26 PIXEL NO BORDER
ACTIVATE DIALOG oDlg centered

pero no logro poder hacer q me muestre el bitmap asiento.bmp

Saludos

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problemas con IMAGE
Posted: Tue Sep 10, 2013 02:41 PM
Jose,

El bitmap asiento crealo desde la cláusula ON INIT del diálogo y dale como padre el objeto bitmap autobus :-)

ACTIVATE DIALOG oDlg ON INIT CreaAsiento( oImage )

...

function CreaAsiento( oImage )

@ 10 , 10 IMAGE aGestx OF oImage file ".\ima\asiento.bmp" SIZE 22,26 PIXEL NO BORDER

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 537
Joined: Mon Jan 16, 2006 03:42 PM
Re: Problemas con IMAGE
Posted: Tue Sep 10, 2013 02:56 PM

antonio si resulto como lo hago ahora para quede transparente.

saludos

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Problemas con IMAGE
Posted: Tue Sep 10, 2013 07:42 PM

Prueba asi:

@ 10 , 10 IMAGE aGestx OF oImage file ".\ima\asiento.bmp" SIZE 22,26 PIXEL NO BORDER

aGestx:lTransparent = .T.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 537
Joined: Mon Jan 16, 2006 03:42 PM
Re: Problemas con IMAGE
Posted: Tue Sep 10, 2013 09:11 PM

Muchisimas Gracias Antonio
Saludos

Continue the discussion