Página 1 de 1

TImage:lTransparent

Publicado: Mié Jul 12, 2006 3:33 pm
por Oleg
Jose!
I put oImage with bmp-file on oPanel and want to make it transparent like
icon.
When I set oImage:lTransparent:=.t., the garbage appears on the panel.
How can I make my image transparent or how does lTransparent work?
Thank you. Oleg.

TImage:lTransparent

Publicado: Mié Jul 12, 2006 4:45 pm
por ignacio
Oleg,
I have just test what you say and here is working correctly. Please send a
sample showing the error. BTW the best way to do what you want is to use the
oBkGnd and nBkGndMode panel properties.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=44b4eb64@news.xailer.com...]44b4eb64@news.xailer.com...[/email]
> Jose!
>
> I put oImage with bmp-file on oPanel and want to make it transparent like
> icon.
> When I set oImage:lTransparent:=.t., the garbage appears on the panel.
> How can I make my image transparent or how does lTransparent work?
>
> Thank you. Oleg.
>
>

TImage:lTransparent

Publicado: Mié Jul 12, 2006 4:45 pm
por NoName
Oleg,
I have just test what you say and here is working correctly. Please send a
sample showing the error. BTW the best way to do what you want is to use the
oBkGnd and nBkGndMode panel properties.
Regards,
"Oleg" <info@cluster.samara.ru> escribió en el mensaje
news:[email=44b4eb64@news.xailer.com...]44b4eb64@news.xailer.com...[/email]
> Jose!
>
> I put oImage with bmp-file on oPanel and want to make it transparent like
> icon.
> When I set oImage:lTransparent:=.t., the garbage appears on the panel.
> How can I make my image transparent or how does lTransparent work?
>
> Thank you. Oleg.
>
>

TImage:lTransparent

Publicado: Mié Jul 12, 2006 7:47 pm
por jfgimenez
Oleg,
> Here is my sample (with clock.bmp inside .zip).
> I want to make green area around clock to be transparent. How can I do it?
> When I set oImage1:lTransparent:=.t., I see the garbage.
The problem is lAutoFit. That is, lAutoFit and lTransparent are mutualy
exclusive; if one of them are .t., the other have to be .f.
However, I'll review it ASAP to see if it were possible to allow both
properties to be .t.
--
Regards,
Jose F. Gimenez
http://www.xailer.com

TImage:lTransparent

Publicado: Mié Jul 12, 2006 7:47 pm
por jfgimenez
Oleg,
> Here is my sample (with clock.bmp inside .zip).
> I want to make green area around clock to be transparent. How can I do it?
> When I set oImage1:lTransparent:=.t., I see the garbage.
The problem is lAutoFit. That is, lAutoFit and lTransparent are mutualy
exclusive; if one of them are .t., the other have to be .f.
However, I'll review it ASAP to see if it were possible to allow both
properties to be .t.
--
Regards,
Jose F. Gimenez
http://www.xailer.com

TImage:lTransparent

Publicado: Mié Jul 12, 2006 7:58 pm
por Oleg
Ignacio!
> I have just test what you say and here is working correctly. Please send a
> sample showing the error. BTW the best way to do what you want is to use
the
> oBkGnd and nBkGndMode panel properties.
Here is my sample (with clock.bmp inside .zip).
I want to make green area around clock to be transparent. How can I do it?
When I set oImage1:lTransparent:=.t., I see the garbage.
Thank you, Oleg.


Attached files test3.zip (1.9 KB)Â

TImage:lTransparent

Publicado: Mié Jul 12, 2006 7:58 pm
por Oleg
Ignacio!
> I have just test what you say and here is working correctly. Please send a
> sample showing the error. BTW the best way to do what you want is to use
the
> oBkGnd and nBkGndMode panel properties.
Here is my sample (with clock.bmp inside .zip).
I want to make green area around clock to be transparent. How can I do it?
When I set oImage1:lTransparent:=.t., I see the garbage.
Thank you, Oleg.


Attached files test3.zip (1.9 KB)Â

TImage:lTransparent

Publicado: Jue Jul 13, 2006 6:25 am
por Oleg
Jose!
> The problem is lAutoFit. That is, lAutoFit and lTransparent are mutualy
> exclusive; if one of them are .t., the other have to be .f.
>
> However, I'll review it ASAP to see if it were possible to allow both
> properties to be .t.
Ok. I'll wait.
I have used lAutoFit property to center my .bmp in oImage which has
nAlign:=alLeft.
By the way I cannot do the same also with oBkGnd and nBkGndMode panel
properties (as Ignacio said).
I tried to set oBkGnd:lTransparent:=.t. and also tried to use .ICO file
instead of .BMP but it does not work for me.
Thank you. Oleg.
--
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>

TImage:lTransparent

Publicado: Jue Jul 13, 2006 6:25 am
por Oleg
Jose!
> The problem is lAutoFit. That is, lAutoFit and lTransparent are mutualy
> exclusive; if one of them are .t., the other have to be .f.
>
> However, I'll review it ASAP to see if it were possible to allow both
> properties to be .t.
Ok. I'll wait.
I have used lAutoFit property to center my .bmp in oImage which has
nAlign:=alLeft.
By the way I cannot do the same also with oBkGnd and nBkGndMode panel
properties (as Ignacio said).
I tried to set oBkGnd:lTransparent:=.t. and also tried to use .ICO file
instead of .BMP but it does not work for me.
Thank you. Oleg.
--
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>

TImage:lTransparent

Publicado: Jue Jul 13, 2006 6:26 am
por Oleg
Jose!
> The problem is lAutoFit. That is, lAutoFit and lTransparent are mutualy
> exclusive; if one of them are .t., the other have to be .f.
>
> However, I'll review it ASAP to see if it were possible to allow both
> properties to be .t.
Ok. I'll wait.
I have used lAutoFit property to center my .bmp in oImage which has
nAlign:=alLeft.
By the way I cannot do the same also with oBkGnd and nBkGndMode panel
properties (as Ignacio said).
I tried to set oBkGnd:lTransparent:=.t. and also tried to use .ICO file
instead of .BMP but it does not work for me.
Thank you. Oleg.
--
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>

TImage:lTransparent

Publicado: Jue Jul 13, 2006 6:26 am
por Oleg
Jose!
> The problem is lAutoFit. That is, lAutoFit and lTransparent are mutualy
> exclusive; if one of them are .t., the other have to be .f.
>
> However, I'll review it ASAP to see if it were possible to allow both
> properties to be .t.
Ok. I'll wait.
I have used lAutoFit property to center my .bmp in oImage which has
nAlign:=alLeft.
By the way I cannot do the same also with oBkGnd and nBkGndMode panel
properties (as Ignacio said).
I tried to set oBkGnd:lTransparent:=.t. and also tried to use .ICO file
instead of .BMP but it does not work for me.
Thank you. Oleg.
--
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>

TImage:lTransparent

Publicado: Jue Jul 13, 2006 10:00 am
por Oleg
Jose!
Sorry for disturbing you, but I think it is important for you to fix the
most of small bugs.
When I reopen test3 project (attached to previous message), there is no
picture (clock.bmp) on oImage1 control in the IDE.
In the compiled program all is OK. You can reproduce it with test3.zip.
Thank you, Oleg.

TImage:lTransparent

Publicado: Jue Jul 13, 2006 10:00 am
por Oleg
Jose!
Sorry for disturbing you, but I think it is important for you to fix the
most of small bugs.
When I reopen test3 project (attached to previous message), there is no
picture (clock.bmp) on oImage1 control in the IDE.
In the compiled program all is OK. You can reproduce it with test3.zip.
Thank you, Oleg.