Method XbpMultiCellGroup():setColType() Foundation

Defines the display type of a column.

Syntax
:setColType( <nColPos>, ;
            [<cValType>], ;
            [<nDisplayType>], ;
            [<cPicture>], ;
            [<lRepaint>] ) --> lSuccess
Parameters
<nColPos>
<nColPos> is a numeric value indicating the ordinal position of the column whose display type is to be defined.
<cValType>
The type of data displayed in the column is specified using a letter equivalent to the return value of the Valtype() function. These are usually the characters "C", "D", "L" or "N".
<nDisplayType>
This parameter defines the display type of the column, or how data is visualized. Data can be represented in textual (default) or graphic form. Constants defined in XBP.CH are used for <nDisplayType>. They are listed in the table below:
Constants used for <nDisplayType>
Constant Description
XBPCOL_TYPE_BITMAP The column displays bitmaps
XBPCOL_TYPE_ICON The column displays icons
XBPCOL_TYPE_SYSICON The column displays system-icons
XBPCOL_TYPE_FILEICON The column displays normal file-icons
XBPCOL_TYPE_FILEMINIICON The column displays small file-icons
XBPCOL_TYPE_TEXT *) The column displays textual data
  1. default value
<cPicture>
This parameter optionally defines a picture string for textual data. Refer to the Transform() function for picture formatting rules.
Return

The method returns .T. (true) if the display type is set, or .F. (false) in case of a failure.

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.