Wednesday, 13 January 2010

Problems with mouse click on forms 10g

I am using forms 10.1.2.0.2 on OAS 10.1.2  using jpi configuration and i detected problems when mouse click on items of my forms.

I give an example:

I have a form with two blocks: Block A and Block B, when forms starts, the cursor is positioned on item 1 of block A, then i do an execute query on block B and do a mouse click on an item of block B, it shows like cursor is on item of block B but it isn't , the cursor is still positioned on item 1 of block A.

I start to see this problem when i changed my configuration from jinitiator to jpi, so i suposed is something to do with java, so i resolved this adding a trigger to my blocks:

a trigger when-mouse-click at block level with this code:

go_block(replace(replace(substr(:system.mouse_item,1,instr(:system.mouse_item,'.')),':'),'.'));
go_record(:system.mouse_record);
go_item(:system.mouse_item);

2 comments:

  1. Thank You!

    We have recently moved over to using Forms 10g with WebStart/JPI and the users 'occasionally' see this problem and until now we've had no resolution except reboot and hope for the best.

    Thanks again for this solution:)

    ReplyDelete
  2. thank you, solved my problem (forms 10g on win server 2008)

    ReplyDelete