Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>tbitem()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
tbItem()
Returns the contents of a given cell
------------------------------------------------------------------------------
Syntax:

     tbItem( <oTbr> ) --> uValue

Parameters:

     <oTbr>     tBrowse object.

Returns:

     <nValue> Cell value.

Description:

     Returns the value of a given cell in a List Box.

Example:

     // Create a Browse on an array
     LOCAL oTbr := tbBrwNew( 10, 10, 20, 50, W_OBJ_ARRWIN )
     LOCAL aMy := {1,2,3}
     // ...
     tbPutArr( oTbr, aMy )
     // ...
     IF LASTKEY()==K_RETURN
       ? tbItem( oTbr )
     ENDIF

See also:

     tbCol(), tbRow()

See Also: tbCol() tbRow()

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