Bug in TWBrowse

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

Bug in TWBrowse

Post 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
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

Enrico,
are you using VISTA ?
Regards,
Otto

http://forums.fivetechsoft.com/viewtopi ... ight=vista
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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               
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply