Method TBrowse():colWidth() Foundation

Establishes the width of a column on the screen.

Syntax
:colWidth( <nColPos> ) --> nColumnWidth
Parameters
<nColPos>
<nColPos> is a numeric value which indicates the position of the TBColumn object whose column width is to be changed.
Return

colWidth() returns the width of a column as numerical value. If <nColPos> is not a numeric value or no matching TBColumn object exists, :colWidth() returns 0.

Description

A numeric value <nColPos> indicating which TBColumn object to change must be passed to :colWidth(). The width of a column in the browse window is established independently of column separators. It can be determined by several factors: the width of a column header, column footer, the display width contained in instance variable :width, or even the actual data retrieved by the TBColumn object.

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.