Skip to main content

I'm converting this C# statement to COBOL:

 if (view.FocusedColumn.FieldName == "CityCode" && view.ActiveEditor is DevExpress.XtraEditors.LookUpEdit)

For the COBOL statement, I'm using:

if view::FocusedColumn::FieldName = "CityCode" and view::ActiveFilter = type Devexpress.XtraEditors.LookupEdit

I get an error on "view::ActiveFilter = type Devexpress.XtraEditors.LookupEdit".  LookuEdit is a class.  How do I check for the ActiveFilter's type ?


#VisualCOBOLautoscalemodescreenresolution

I'm converting this C# statement to COBOL:

 if (view.FocusedColumn.FieldName == "CityCode" && view.ActiveEditor is DevExpress.XtraEditors.LookUpEdit)

For the COBOL statement, I'm using:

if view::FocusedColumn::FieldName = "CityCode" and view::ActiveFilter = type Devexpress.XtraEditors.LookupEdit

I get an error on "view::ActiveFilter = type Devexpress.XtraEditors.LookupEdit".  LookuEdit is a class.  How do I check for the ActiveFilter's type ?


#VisualCOBOLautoscalemodescreenresolution

Hi Phil, you should be able to do:

if view::FocusedColumn::FieldName = "CityCode" and view::ActiveFilter instance of type Devexpress.XtraEditors.LookupEdit

Robert.


I'm converting this C# statement to COBOL:

 if (view.FocusedColumn.FieldName == "CityCode" && view.ActiveEditor is DevExpress.XtraEditors.LookUpEdit)

For the COBOL statement, I'm using:

if view::FocusedColumn::FieldName = "CityCode" and view::ActiveFilter = type Devexpress.XtraEditors.LookupEdit

I get an error on "view::ActiveFilter = type Devexpress.XtraEditors.LookupEdit".  LookuEdit is a class.  How do I check for the ActiveFilter's type ?


#VisualCOBOLautoscalemodescreenresolution

Thanks, that handled it.