Bug in TBitmap [Fixed]
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Bug in TBitmap [Fixed]
Bitmaps on dialogs are not more visible using FWH 18.01, at least in my applications.
Any ideas?
EMG
Any ideas?
EMG
Re: Bug in TBitmap
Enrico, you obtain any error?
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Bug in TBitmap
It works again if I comment out
inside bitmap.prg.
Any better solution?
EMG
Code: Select all
#define REVD1801
Any better solution?
EMG
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Bug in TBitmap
No, only a blank bitmap.cnavarro wrote:Enrico, you obtain any error?
EMG
Re: Bug in TBitmap
How do you call painting your bitmaps?, or you use command for define bitmaps?
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Bug in TBitmap
I'm using REDEFINE BITMAP command.cnavarro wrote:How do you call painting your bitmaps?, or you use command for define bitmaps?
EMG
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Bug in TBitmap
And even with the line above commented out, the bitmap is blank if the REDEFINE BITMAP ... TRANSPARENT clause is used.Enrico Maria Giordano wrote:It works again if I comment out
inside bitmap.prg.Code: Select all
#define REVD1801
Any better solution?
EMG
All of this used to worked perfectly in the previous FWH releases (since decades).
EMG
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Bug in TBitmap
It works perfectly if bitmap.prg from the previous FWH release is used.
EMG
EMG
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Bug in TBitmap
Mr Enrico
I tried to reproduce your problem but could not. I would be highly thankful if you can provide a small sample to reproduce the problem.
I tried to reproduce your problem but could not. I would be highly thankful if you can provide a small sample to reproduce the problem.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Bug in TBitmap
No, sorry. I can't reproduce the problem with a sample, only in my applications.nageswaragunupudi wrote:Mr Enrico
I tried to reproduce your problem but could not. I would be highly thankful if you can provide a small sample to reproduce the problem.
EMG
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Bug in TBitmap
Ok, never mind, my fault, sorry. Case closed.
EMG
EMG
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: Bug in TBitmap
The problem (for the posterity) was that I redefined GetObjectType() function that now is used for FW_ReadImage().
EMG
EMG
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: Bug in TBitmap
At first, I thank you for the clarification. I feel greatly relieved that I did not introduce any bug.Enrico Maria Giordano wrote:The problem (for the posterity) was that I redefined GetObjectType() function that now is used for FW_ReadImage().
EMG
At the same time, I am also sorry. We started the convention of prefixing FW_ to all FWH functions not to clash with programmers' own functions inadvertently. But this was a function which we created earlier. Sorry for the inconvenience.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India
- Enrico Maria Giordano
- Posts: 7356
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact: