Consultor Eletrônico



Kbase P164839: How to detect that a LEFT-MOUSE-DBLCLICK in a browse happened when there are no rows in the browse?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   4/28/2010
Status: Unverified

GOAL:

How to detect that a LEFT-MOUSE-DBLCLICK in a browse happened when there are no rows in the browse?

FACT(s) (Environment):

Windows
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)

FIX:

In the LEFT-MOUSE-DBLCLICK event handler simply test for IF AVAILABLE(Your_Browse_Table_Name) and if a record is available go on and process the event as normal.

If the browse has no data in it when the LEFT-MOUSE-DBLCLICK event is generated the AVAILABLE function will return false.