ReportControl_GetMarkerStyleNamesΒΆ

ReportControl_GetMarkerStyleNames returns a string vector with marker names which can be used to initialize the marker combo box in a report control.

svNames = ReportControl_GetMarkerStyleNames()

Return Value

svNames is a string vector with marker styles and names.

Comment

The string vector with the marker names can be converted to a scalar string with the help of the CreateListBoxText function. comment]Example for a callback function to choose a marker style. The function returns a scalar string to initialize the marker combo box.

def __ItemMarkerStyle(svInit, iControl, iRow, iCol)
{
    svNames = ReportControl_GetMarkerStyleNames();
    // Find the selected marker (smMat[iRow;iCol])
    <ssMat, svSel> = GetListBoxText(svInit[iControl], FALSE);
    smMat = ReportControl_GetMatrix(ssMat);
    return CreateListBoxText(svNames, smMat[iRow;iCol]);
}

History

Version Description
4.2.2 New

id-1089599