I am using Crystal Report 9 RDC in Delphi 7 with the CRViewer ActiveX for the preview.
I would like to be able to determine the field the user clicked on in the preview window. The OnClick Event looks like this:
procedure TFormPreview.CRViewerClicked(Sender: TObject; x, y: Integer;
var EventInfo: OleVariant; var UseDefault: WordBool);
I have seen many working exemples of VB code but can't manage to reproduce it under Delphi.
Each time I tried to access the properties:
I get the error "Element not found"
Any help would be welcome.