Possible xBrowse's method Adjust() bug

Post Reply
RodMG
Posts: 31
Joined: Thu Jan 26, 2006 5:53 pm

Possible xBrowse's method Adjust() bug

Post by RodMG »

Hi,

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

Code: Select all

#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
RodMG
Posts: 31
Joined: Thu Jan 26, 2006 5:53 pm

Re: Possible xBrowse's method Adjust() bug

Post by RodMG »

HI,

I'm ussing: FWH 10.1


Regards,

RodMG
Post Reply