|
From: Paulo Oliveira on 9 Jul 2008 14:18 Hi all, After upgrade to FabPaint v3, i cannot display images using CreateFromResourceName(), any idea, oImg:=FabPaintLib{} oImg:CreateFromResourceName(_GetInst(),"IMGLOGO") SELF:oDCccImgApp:Image:=oImg SELF:oDCccImgApp:ImageFit:=TRUE TIA Paulo Oliveira
From: Paulo Oliveira on 10 Jul 2008 04:56 using, oImg:CreateFromFile("D:\SOVEXPRESS\LOGOS\SOVSQLLOGO.BMP") everting works fine, the problem seems to be in CreateFromResourceName() Paulo Oliveira > Hi all, > > After upgrade to FabPaint v3, i cannot display images using > CreateFromResourceName(), > any idea, > > oImg:=FabPaintLib{} > oImg:CreateFromResourceName(_GetInst(),"IMGLOGO") > SELF:oDCccImgApp:Image:=oImg > SELF:oDCccImgApp:ImageFit:=TRUE > > TIA > Paulo Oliveira
From: Paulo Oliveira on 10 Jul 2008 13:03 If i convert to GrayScale everthing works!! oImg:=FabPaintLib{} oImg:CreateFromResourceName(_GetInst(),"IMGLOGO") oImg:GrayScale() SELF:oDCccImgApp:Image:=oImg SELF:oDCccImgApp:ImageFit:=TRUE TIA Paulo Oliveira
From: Fabrice Foray on 10 Jul 2008 13:48 On 10 juil, 19:03, Paulo Oliveira <pa...(a)clipinfor.com> wrote: > If i convert to GrayScale everthing works!! > > oImg:=FabPaintLib{} > oImg:CreateFromResourceName(_GetInst(),"IMGLOGO") > oImg:GrayScale() > SELF:oDCccImgApp:Image:=oImg > SELF:oDCccImgApp:ImageFit:=TRUE > > TIA > Paulo Oliveira Well, so it seems there is something wrong into the way FabPaint handle the "normal" image ! I will look at this one tomorrow. Cheers, Fabrice.
From: Paulo Oliveira on 10 Jul 2008 14:05
Fabrice, Many Thanks Paulo Oliveira > > Well, > so it seems there is something wrong into the way FabPaint handle the > "normal" image ! > > I will look at this one tomorrow. > > Cheers, > Fabrice. |