TBrowse() > Methods for columns xHarbour Developers Network  

oTBrowse:setColumn()

Replaces a TBColumn object within a TBrowse object

Syntax

:setColumn( <nColPos>, <oTBColumnNew> ) --> oTBColumnOld

Arguments

<nColPos>
This is a numeric value specifying the ordinal position of the TBColumn object to replace in the browser.
<oTBColumnNew>
This is the TBColumn object that replaces an existing one in the TBrowse object.

Description

Method :setColumn() accepts a TBColumn() object and replaces the existing column object at position <nColPos>. The return value is the replaced TBColumn object. When the TBColumn object is replaced, the entire TBrowse display is invalidated and all data from the data source is re-read during the next stabilization cycle.


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe