if I have an 377x314 image I must put on a dialog this image but
if I write
@ 2,5 IMAGE oImg SIZE 377,314 OF oDlg
the image is too big
why ?
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
if I have an 377x314 image I must put on a dialog this image but
if I write
@ 2,5 IMAGE oImg SIZE 377,314 OF oDlg
the image is too big
why ?
Please provide the used image. Place it at www.hyperupload.com and provide the download link.
THIS IS FILE IMAGE
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg, oBmp
DEFINE DIALOG oDlg;
SIZE 700, 500
@ 1, 1 BITMAP oBmp FILE "c:\fwharbour\bitmaps\magic.bmp" SIZE 320, 200
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL ACTIVATE DIALOG oDlg;
CENTER ;
ON INIT oBmp:SetSize( 320, 200 )If I am not wrong, its not a bug, as when using a DIALOG and specifying SIZE clause, we are managing dialogs units, not pixels.
I agree. TBitmap behavior is consistent with the other controls.
EMG
thanks to all