Concept Framework 2.0 documentation Contents | Index

RTreeView.AddColumn

Name Type Access Version Deprecated
AddColumn function public version 1.0 no

Prototype:
public function AddColumn(column_name, visible)

Parameters:
column_name      the caption of the column
visible      how will be rendered. Must be one of this values :HIDDEN_COLUMN | NORMAL_COLUMN |PERCENT_COLUMN | CHECK_COLUMN | RADIO_COLUMN | IMAGE_COLUMN | COMBO_COLUMN; If is set to NORMAL_COLUMN, then you can apply the EDITABLE_COLUMN (if you want your column to be editable by the user) mask by using the "|" operator like in the example.

Description:
This function will add columns to a view.

Example:
	TreeList.AddColumn("Edit me !", NORMAL_COLUMN | EDITABLE_COLUMN);
	TreeList.AddColumn("Don't edit me", NORMAL_COLUMN);
	TreeList.AddColumn("Progress bar", PROGRESS_COLUMN);

Returns:
Returns the result of the Send method (not to be considered important).

Documented by Eduard Suica, generation time: Fri Jan 21 18:06:14 2011 GMT(c)2011 RadGs Software