# TBrowseDB()

Create a new TBrowse object to be used with database file

Syntax

  TBrowseDB( [<nTop>], [<nLeft>], [<nBottom>], [<nRight>] ) --> oBrowse

Arguments

  <nTop> coordinate for top row display.
  <nLeft> coordinate for left column display.
  <nBottom> coordinate for bottom row display.
  <nRight> coordinate for right column display.

Returns

  TBrowseDB() return new TBrowse object with the specified coordinate and a default :SkipBlock, :GoTopBlock and :GoBottomBlock to browse a database file.

Description

  TBrowseDB() is a quick way to create a TBrowse object along with the minimal support needed to browse a database. Note that the returned TBrowse object contain no TBColumn objects and you need to add column for each field by your self.

Examples

          for a good example, look at the source code for BROWSE() function
          at source/rtl/browse.prg

Status

  Started

Compliance

  TBrowseDB() works exactly like CA-Clipper's TBrowseDB().

Files

  Library is rtl

See Also

- BROWSE()
- TBColumn class
- TBrowse class
- TBrowseNew()