Bug xbrowse header

Bug xbrowse header

Postby MGA » Tue Feb 26, 2008 7:28 pm

Amigos, no exemplo abaixo tirado do c:\fwh802\samples\testxbrw,
se logo na entrada clicar no header, o sistema vai mostrar a mensagem e em seguida o header vai ficar louco.



STATIC FUNCTION NewDialog( oWnd )

local oDlg, oBrw,cod:=10,oget

DEFINE DIALOG oDlg RESOURCE "TEST" OF oWnd

REDEFINE GET oget var cod id 4001 of odlg picture "999999" valid bod(cod)



oBrw := TXBrowse():New( oWnd )

oBrw:CreateFromResource( 101 )

oBrw:SetArray( { { "first", "row" }, { "second", "row" } } )
oBrw:aCols[ 1 ]:cHeader = "An array"
oBrw:aCols[ 2 ]:cHeader = "test"
oBrw:aCols[ 1 ]:bClrStd = { || { CLR_WHITE, CLR_BLUE } }
oBrw:aCols[ 2 ]:bClrStd = { || { CLR_WHITE, CLR_BLUE } }

ACTIVATE DIALOG oDlg ;
ON INIT ( oBrw:SetColor( CLR_WHITE, CLR_BLUE ) )

RETURN NIL


FUNCTION test(COD)

LOCAL LRET:=.F.

IF COD>5
msginfo("depois de confirmar esta mensagem o header fica louco")
LRET:=.F.
ELSE
LRET:=.T.
ENDIF

RETURN(LRET)


Como resolver?


Grato
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby MGA » Wed Feb 27, 2008 5:02 pm

UP!
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá

Postby MGA » Wed Mar 05, 2008 11:22 am

UP!!
ubiratanmga@gmail.com

FWH24.04
BCC7.3
HARBOUR3.2
xMate
Pelles´C
TDolphin
MGA
 
Posts: 1252
Joined: Mon Feb 25, 2008 2:54 pm
Location: Brasil/PR/Maringá


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests