Can't pass parameter list to Graphics module!

From: <mrbozo_at_my-deja.com>
Date: Wed, 06 Dec 2000 06:59:09 GMT
Message-ID: <90ko3s$k4v$1_at_nnrp1.deja.com>


Hi all,

I'm having trouble passing a parameter list to an Oracle Graphics module using the og.mousedown built-in.

My form module contains a chart item which in turn contains a WHEN-MOUSE-CLICK event. It contains:



pl_id := Get_Parameter_List('chartparam'); IF NOT Id_Null(pl_id) THEN
  destroy_parameter_list(pl_id);
end if;
pl_id := Create_Parameter_List('chartparam'); Add_Parameter(pl_id,'click_type',TEXT_PARAMETER, '0'); og.mousedown('SHIFT.OGD', 'GRAPHICS_AREA', plist=>pl_id);

The graphics module's "button procedure" contains:



pl_id := tool_int.get_parameter_list('chartparam'); IF NOT tool_int.isnull(pl_id) THEN
  ...
ELSE
  ...
END IF;

Annoyingly, the ELSE part always get executed!!

Can anyone please tell me what I'm doing wrong?

Thanks a lot,

MB

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Dec 06 2000 - 07:59:09 CET

Original text of this message