FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New FWH 9.06 Txbrowse error
Posts: 130
Joined: Sat Oct 08, 2005 09:38 PM
New FWH 9.06 Txbrowse error
Posted: Sun Jul 12, 2009 12:31 AM
I am getting a run time error after I upgrade from 9.05 to 9.06.
Please try the code below.

Regards,
Birol BETONCU


Code (fw): Select all Collapse
#INCLUDE "FiveWin.ch"
#INCLUDE "xbrowse.ch"

FUNCTION Main()
LOCAL oWnd, oLbx, oCol

   USE CLIENTS
   DBGoTop()

   DEFINE WINDOW oWnd PIXEL FROM 5, 5 TO 500,280

   oLbx := TXBrowse():New( oWnd )
   oLbx:lRecordSelector     := .F.
   oLbx:nMarqueeStyle       := MARQSTYLE_HIGHLROW
   oLbx:nColDividerStyle    := LINESTYLE_LIGHTGRAY
   oLbx:nRowDividerStyle    := LINESTYLE_LIGHTGRAY
   oLbx:lColDividerComplete := .T.
   oLbx:lHScroll            := .F.

   oCol:=oLbx:AddCol()
   oCol:bStrData     := { || CLIENTS->name }
   oCol:cHeader      := "Name"
   oCol:nWidth       := 40

   oCol:=oLbx:AddCol()
   oCol:bStrData     := { || CLIENTS->adress }
   oCol:cHeader      := "Address"
   oCol:nWidth       := 210

   oLbx:SetRDD()
   oLbx:CreateFromCode()

   oLbx:bKeyChar := { |nKey| IF( nKey==VK_ESCAPE, oWnd:End(), nKey ) }

   oWnd:oClient := oLbx

   ACTIVATE WINDOW oWnd ON INIT oLbx:SetFocus() VALID (CLIENTS->(DBCloseArea()), .T.)

RETURN NIL
Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 9.06 Txbrowse error
Posted: Sun Jul 12, 2009 12:43 AM

Birol,

We have just fixed it. It was a last minute introduced error.

Please download FWH.exe again in a few minutes, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion