Page 1 of 1

Bug in TWBrowse

Posted: Fri May 16, 2008 9:58 am
by Enrico Maria Giordano

Code: Select all

// Headers are white

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg, oBrw

    USE TEST

    DEFINE DIALOG oDlg

    @ 0, 0 LISTBOX oBrw FIELDS

    ACTIVATE DIALOG oDlg;
             ON INIT oDlg:SetControl( oBrw );
             CENTER

    CLOSE

    RETURN NIL
EMG

Posted: Fri May 16, 2008 10:21 am
by Otto
Enrico,
are you using VISTA ?
Regards,
Otto

http://forums.fivetechsoft.com/viewtopi ... ight=vista

Posted: Fri May 16, 2008 10:25 am
by Enrico Maria Giordano
No, XP SP3.

EMG

Posted: Fri May 16, 2008 11:19 am
by Otto
Enrico, ave you read the thread.
James reported also have seen this in XP.
In VISTA 8.o3 or 8.o4 (can't remember exactlly) resolved the problem.
Regards,
Otto

Posted: Fri May 16, 2008 1:07 pm
by Enrico Maria Giordano
The problem started with this month FWH release.

EMG

Posted: Sat May 17, 2008 8:22 am
by Antonio Linares
Enrico,

Please try this change in source\classes\wbrowse line 2248:

Code: Select all

   if nRowPos == 0              
      SetBkColor( hDC, If( ValType( nClrPane ) == "B",;
                  nClrPane := Eval( nClrPane ), nClrPane ) )
   endif               

Posted: Sat May 17, 2008 12:30 pm
by Enrico Maria Giordano
It seems to work fine, thank you.

EMG