This is because both the XbpBrowse and XbpCellGroup objects generate an xbeBRW_ItemMarked event.Why i do get xbeBRW_ItemMarked events with different parameters ??
When the event is generated by XbpBrowse, mp1 and mp2 are both numeric.
When the event is generated by XbpCellGroup, mp1 is a 2-element array and mp2 is a NIL.
I am working this, but I think that the error trap needs to be a a lower level, where the error actually occurs.