FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Possible xBrowse's method Adjust() bug
Posts: 33
Joined: Thu Jan 26, 2006 05:53 PM
Possible xBrowse's method Adjust() bug
Posted: Thu Sep 09, 2010 10:56 PM
Hi,

Run this code from the SAMPLE FiveWin folder and view the result in the checkres.txt file.

Code (fw): Select all Collapse
#include "fivewin.ch"
#include 'xbrowse.ch'

Function Main()
   local oWnd, oDbCustomer, oBrw

   ferase("checkres.txt")

   use customer
   DATABASE oDbCustomer

   define window oWnd

   @ 0,0 XBROWSE oBrw OF oWnd ;
     FIELDS 'FIRST', 'LAST', 'STREET' OBJECT oDbCustomer;
     LINES CELL FASTEDIT NOBORDER

     oBrw:CreateFromCode()

   oWnd:oClient := oBrw

   oBrw:Adjust()

   activate window oWnd

   checkRes()

return nil



Regards,

RodMG
Posts: 33
Joined: Thu Jan 26, 2006 05:53 PM
Re: Possible xBrowse's method Adjust() bug
Posted: Thu Sep 09, 2010 11:11 PM

HI,

I'm ussing: FWH 10.1

Regards,

RodMG

Continue the discussion