Bug in TBitmap [Fixed]

User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Bug in TBitmap [Fixed]

Post by Enrico Maria Giordano »

This code:

Code: Select all

REDEFINE BITMAP;
         ID 101 OF oDlg;
         FILE "TEST.PAK";
         ADJUST
where TEST.PAK is TEST.BMP renamed, shows "Argument error conditional". It used to work fine in the previous FWH releases.

Any workaround?

EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TBitmap

Post by Antonio Linares »

Enrico,

Please post the calls stack section from the error.log file, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Bug in TBitmap

Post by Enrico Maria Giordano »

This is a sample. It doesn't error out but shows a sheet instead of the bitmap (open.pak is open.bmp renamed).

Code: Select all

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    DEFINE DIALOG oDlg

    @ 1, 1 BITMAP;
           FILE "open.pak"

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL
EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TBitmap

Post by Antonio Linares »

Enrico,

Here an empty dialog is shown

Please post a screenshot of what you get, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TBitmap

Post by Antonio Linares »

I copied an open.bmp to open.pak and it is properly shown

Please double check that open.pak is the right bitmap that you want to show
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Bug in TBitmap

Post by Enrico Maria Giordano »

Unfortunately your email provider rejected the attachment. :-(

Anyway, you must be able to reproduce the problem using my sample:

Code: Select all

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    DEFINE DIALOG oDlg

    @ 1, 1 BITMAP;
           FILE "open.pak"

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL
EMG
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TBitmap

Post by Antonio Linares »

Enrico,

It is working fine here

I have emailed you the most recent FWH libs

thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Bug in TBitmap

Post by Antonio Linares »

We are checking it, thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply