Hello,
I want to set a button (ID 102) to clear the Image:
But despite I set oData:Foto to "" and I call refresh and update, the previous picture is still there, I need to remove it.
Maybe I miss something or it is a bug.
Thank you.
I want to set a button (ID 102) to clear the Image:
REDEFINE IMAGE oBmpFoto1 ID 103 OF oFld:aDialogs[ 3 ] UPDATE ;
FILENAME oData:FOTO ;
ON CLICK ( oData:FOTO := _CargaFoto (oBmpFoto1, oDlg) ) ADJUST
REDEFINE BUTTON ID 101 OF oFld:aDialogs[ 3 ] ;
ACTION ( oData:FOTO := _CargaFoto (oBmpFoto1, oDlg) )
REDEFINE BUTTON ID 102 OF oFld:aDialogs[ 3 ] ;
ACTION ( oData:FOTO := "", alert(odata:foto), oBmpFoto1:Refresh(), oFld:Update(), oFld:Refresh(), oDlg:Refresh() )But despite I set oData:Foto to "" and I call refresh and update, the previous picture is still there, I need to remove it.
Maybe I miss something or it is a bug.
Thank you.
Muchas gracias. Many thanks.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.