Bug in TWBrowse

Bug in TWBrowse

Postby Enrico Maria Giordano » Fri May 16, 2008 9:58 am

Code: Select all  Expand view  RUN
// 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
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Otto » Fri May 16, 2008 10:21 am

Enrico,
are you using VISTA ?
Regards,
Otto

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

Postby Enrico Maria Giordano » Fri May 16, 2008 10:25 am

No, XP SP3.

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

Postby Otto » Fri May 16, 2008 11:19 am

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
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Enrico Maria Giordano » Fri May 16, 2008 1:07 pm

The problem started with this month FWH release.

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

Postby Antonio Linares » Sat May 17, 2008 8:22 am

Enrico,

Please try this change in source\classes\wbrowse line 2248:
Code: Select all  Expand view  RUN
   if nRowPos == 0             
      SetBkColor( hDC, If( ValType( nClrPane ) == "B",;
                  nClrPane := Eval( nClrPane ), nClrPane ) )
   endif               
regards, saludos

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

Postby Enrico Maria Giordano » Sat May 17, 2008 12:30 pm

It seems to work fine, thank you.

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 64 guests