SetParameters
Set the Parameters in a column label.
BOOL SetParameters( const vector<string> & vstr )
TRUE if OK, otherwise FALSE.
EX1
// Create a worksheet and add Parameters void Column_SetParameters_Ex1() { Worksheet wks; wks.Create("Origin", CREATE_VISIBLE); vector<string> vstr1 = {"first", "second", "third"}; vector<string> vstr2 = {"1", "2", "3"}; wks.Columns(0).SetParameters(vstr1); wks.Columns(1).SetParameters(vstr2); // Parameters have been set but aren't displayed yet Grid grd; grd.Attach(wks); int nHowManyParamsToShow = vstr1.GetSize(); for (int ii = 0; ii < nHowManyParamsToShow; ii++) grd.ShowLabels(RCLT_PARAM + ii); }
Column::GetExtendedLabel, Column::SetExtendedLabel
origin.h