Consultor Eletrônico



Kbase P74743: Cannot access data returned by the DblClicked event of the Crystal Reports Viewer Control
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/20/2010
Status: Unverified

SYMPTOM(s):

Cannot access data returned by the DblClicked event of the Crystal Reports Viewer Control 9

Cannot access data returned by the DblClicked event of the Crystal Reports Viewer Control 10

Cannot access data returned by the Clicked event of the Crystal Reports Viewer Control version 9 or version 10

Clicked and DblClicked events do fire but it is not possible to retrieve information about the item clicked on

DblClicked Event:

PROCEDURE <control-frame>.<control>.DblClicked:
DEFINE INPUT PARAMETER x AS INTEGER.
DEFINE INPUT PARAMETER y AS INTEGER.
DEFINE INPUT PARAMETER EventInfo AS <ANYTYPE>.
DEFINE INPUT-OUTPUT PARAMETER UseDefault AS LOGICAL.
END PROCEDURE.

EventInfo parameter returns a CRVEventInfo object

Setting the data-type of EventInfo to COM-HANDLE does not have an effect

VALID-HANDLE returns FALSE/NO when used against EventInfo

Trying to access CRVEventInfo Methods/Properties returns error 5884

Invalid component-handle referenced while processing method/statement: TYPE. (5884)

Sample VB.NET application using the same event works properly

FACT(s) (Environment):

Progress 9.1D
OpenEdge 10.0A
Crystal Reports 9
Crystal Reports 10

CAUSE:

Bug# OE00102485

FIX:

Upgrade to 10.0B or higher.