public bool isInThisLine(
String ctrlName,
int indexField,
CSReportDll.cReportPageField testFld)
{
CSReportDll.cReportPageFields fields = null;
CSReportDll.cReportPageField fld = null;
if (indexField == 0)
{
return true;
}
fields = getLine(indexField);
for (int _i = 0; _i < fields.count(); _i++)
{
fld = fields.item(_i);
if (fld.getInfo().getName() == ctrlName)
{
if (testFld == fld)
{
return true;
}
}
}
return false;
}