Page 1 of 1

Bug in TBtnBmp

Posted: Sat Sep 29, 2007 12:16 pm
by Enrico Maria Giordano
The following sample shows the problem (the button is inset and partially visible):

Code: Select all | Expand

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    DEFINE DIALOG oDlg

    @ 1, 1 BTNBMP

    ACTIVATE DIALOG oDlg;
             CENTER

    RETURN NIL


EMG

Posted: Sat Sep 29, 2007 1:11 pm
by Antonio Linares
Enrico,

Are you testing it in XP or in Vista ?

In Vista it looks fine (inset), the only problem I see is that the focus dotted line is not visible on the right side.

Posted: Sat Sep 29, 2007 4:22 pm
by Enrico Maria Giordano
Antonio Linares wrote:Enrico,

Are you testing it in XP or in Vista ?

In Vista it looks fine (inset), the only problem I see is that the focus dotted line is not visible on the right side.


I tested it in XP and inset is one of the problems. It is not inset when defined from resources.

The BUTTONBMPs work fine instead.

EMG

Posted: Sat Sep 29, 2007 4:56 pm
by Antonio Linares
Enrico,

So we are talking about the inset and the dotted line, right ? :-)

Thanks for your help,

Posted: Sat Sep 29, 2007 5:05 pm
by Enrico Maria Giordano
Antonio Linares wrote:Enrico,

So we are talking about the inset and the dotted line, right ? :-)


Exactly.

EMG