Functions and Directives

Function TBrowseNew() Foundation

Generates an object of the TBrowse class.

This function is deprecated.

Syntax
TBrowseNew( [<nTop>]   , ;
            [<nLeft>]  , ;
            [<nBottom>], ;
            [<nRight>]   ) --> oTBrowse
Parameters
<nTop>
<nTop> is an integer numeric value specifying the top screen row at which the TBrowse object is displayed. The four arguments <nTop>, <nLeft>, <nBottom> and <nRight> specify the screen coordinates for the object. The default value for <nTop> is zero.
<nLeft>
<nLeft> is an integer numeric value specifying the left screen column of the TBrowse object display. The default value is zero.
<nBottom>
<nBottom> is an integer numeric value specifying the bottom screen row of the TBrowse object display. The default value is MaxRow().
<nRight>
<nRight> is an integer numeric value specifying the right screen column of the TBrowse object display. The default value is MaxCol().
Return

The return value of TBrowseNew() is a new TBrowse object.

Description

The function TBrowseNew() is a compatibility function which should no longer be used, since Xbase++ makes a complete object model available. Instead of the function call TBrowseNew(), the message :new()should be sent to the class object of the TBrowse class. The same arguments are passed to the method :new() and the function TBrowseNew().

More information is found with the class TBrowse().

Examples
TBrowseNew()
// The example compares the function call with the 
// send of the message :new() to the class object. 

PROCEDURE Main 
   LOCAL oTBrowse 

                                   // function call 
   oTBrowse := TBrowseNew( 5, 10, 19, 69 ) 

                                   // message to class object 
   oTBrowse := TBrowse():new( 5, 10, 19, 69 ) 

RETURN 
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.