Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - ntxpos() retrieves the relative index position of a record http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 NtxPos()               Retrieves the relative index position of a record
--------------------------------------------------------------------------------

   Syntax:              NtxPos( <nIndexOrd>, <nRecNo> )
                                --> <nRelativeRecNoPos>

   Parameters:

   <nIndexOrd>          It is the index order. By default 0.

   <nRecNo>             It is the recno to get its relative NTX index
                        position.

   Returns:

   <nRelativeRecNoPos>  It is a numeric value with the resulting relative
                        record position.

   Source code:         SOURCE\\Function\\NtxPos.c

   Comments             FiveWin provides this function to query a NTX
                        file for a record relative position. It is needed
                        for properly update a browse scrollbar after
                        performing a seek:

                        SEEK <Expression>

                        if Found()
                           <oBrowse>:oVScroll:SetPos( ;
                                     NtxPos( IndexOrd(), RecNo() ) )
                        endif

   See also:            Class TScrollBar METHOD SetPos()



Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson