PONER VARIAS IMAGENES EN UN DIALOGO

PONER VARIAS IMAGENES EN UN DIALOGO

Postby Marco Augusto » Sat Jul 28, 2007 7:49 pm

SALUDOS

ALGUIEN ME PODRIA INDICAR COMO COLOCAR VARIAS IMAGENES
EN UN DIALOGO
HAGO LO SIGUIENTE:


Procedure Main()
LOCAL oBmp,oDlg

DEFINE DIALOG oDlg FROM 0,0 TO 35,100 TITLE "Test FreeImage"

DEFINE IMAGE oBmp FILE "001.jpg" OF oDlg
DEFINE IMAGE oBmp2 FILE "002.jpg" OF oDlg

oDlg:bPainted:={|hDC|PalBmpDraw(hDC, 0,450, oBmp:hBitmap,,350,300,.T.)}
oDlg:bPainted:={|hDC|PalBmpDraw(hDC, 0, 0,oBmp2:hBitmap,,350,300,.T.)}

ACTIVATE DIALOG oDlg CENTER


PERO SOLO APARECE LA SEGUNDA IMAGEN
Marco Augusto Rodriguez Manzo
FWH January 2020 Xharbour 1.2.3
MySQL 5.0.19 Fastreport

PERZO SOFT
Sistemas Personalizados
User avatar
Marco Augusto
 
Posts: 144
Joined: Wed Oct 12, 2005 1:03 pm
Location: Cuernacava, Morelos Mexico

Postby Antonio Linares » Sat Jul 28, 2007 11:27 pm

Usa solo uno:

oDlg:bPainted:={|hDC|PalBmpDraw(hDC, 0,450, oBmp:hBitmap,,350,300,.T.),;
PalBmpDraw(hDC, 0, 0,oBmp2:hBitmap,,350,300,.T.)}
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42151
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Marco Augusto » Sun Jul 29, 2007 4:04 pm

MUCHAS GRACIAS
FUNCIONO OK
Marco Augusto Rodriguez Manzo
FWH January 2020 Xharbour 1.2.3
MySQL 5.0.19 Fastreport

PERZO SOFT
Sistemas Personalizados
User avatar
Marco Augusto
 
Posts: 144
Joined: Wed Oct 12, 2005 1:03 pm
Location: Cuernacava, Morelos Mexico


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests