Sometimes cursor is stuck in Master-Detail Form. Due to this issue we are unable to navigate using mouse clicks. I find out the following "WHEN-MOUSE-CLICK " trigger on Form-Level can handle the sticky cursor problem easily.
--Form Level Trigger = WHEN-MOUSE-CLICK
Begin
If Get_Item_Property(:System.Mouse_Item, Item_Type) Not In ('BUTTON', 'DISPLAY ITEM') Then
If :System.Trigger_Block <> :System.Cursor_Block Then
Go_Block(:System.Trigger_Block);
End If;
If :System.Mouse_Record <> :System.Cursor_Record Then
Go_Record(:System.Mouse_Record);
End If;
If :System.Mouse_Item <> :System.Cursor_Item Then
Go_Item(:System.Mouse_Item);
End If;
End If;
End;
No comments:
Post a Comment