FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Eof() en xBrowse
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Eof() en xBrowse
Posted: Wed Feb 12, 2014 07:02 PM
rao

i try with this code, work, but show ugly move record selector.

Code (fw): Select all Collapse
METHOD PageDown( nLines ) CLASS TXBrowse
...
   IF ::eof()
      ::GoBottom()
   ENDIF


salu2
Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Eof() en xBrowse
Posted: Wed Feb 12, 2014 10:51 PM
return nil // here - return 0 ??? we reached end of file

Yes. This should be corrected as "return 0".
Fixed for next release.

Please note that xbrowse never allows Eof() condition to be true, except when the data is empty.
Regards



G. N. Rao.

Hyderabad, India

Continue the discussion