The only place I remember seeing the MOUSE EVENTS is a white paper entitled 'Oracle9i Forms - Migrating Client/Server To the Web', which I downloaded from Metalink way back when. In Section 3.3.1, the document states that and I am quoting:
'Some mouse events are not used in Forms on the web due to the amount of network traffic that would be generated:
Other mouse events work normally.'
Based on this one, the WHEN-MOUSE-CLICK trigger should work. Funny thing is that these events (listed above) are still available in iDS 10.1.2.0.2 ?
I have also another white paper from Peter Koletzke of Quovera, titled as 'Top Tips For Web-Deployed Forms' - paper 616, and in this document also only those 3 mouse events listed above are listed under the 'Triggers That Don't Fire' section.
I am hoping Grant or Frank will reply to this.
but if I right click the item nothing happens, the trigger doesn't fire.<p>I tried this in Forms 6i client/server and Web forms 10.1.2.0.1. On 6i, cursor does not move to the item right-clicked, but at least the trigger fires, and reports Mouse_button_pressed = 3. But on web forms (running on Windows XP) the trigger does NOT fire at all.
<p>I found this in the on-line help: "On Motif platforms pressing the right mouse button will not set the SYSTEM.MOUSE_BUTTON_PRESSED value." Does running under jinitiator make it a "Motif" platform???
<p>I, too, hope that Frank or Grant will reply to this.
<p> <br>And lastly, by the way: Looking at the on-line help, I learned that :System.mouse_button_modifiers replaces :System.mouse_button_shift_state.
I just tested this in Forms 184.108.40.206 and it works fine. Both left and right mouse click fire the WHEN-MOUSE-CLICKED trigger. So likely this was a bug in the version you are using. Are you aware that Forms 10 is no longer entitled to Error Correction? The terminal patch for this version is 10.1.2.3 (patch ID 5983622). I recommend to download and install this patch and retest. If it still doesn't work, it may be time to upgrade to a current version like 220.127.116.11.
Sorry, i have not provided the exact information. I'm using forms 11g Rel2 (Forms [32 bits] Versión 18.104.22.168.0 (Producción)).
This is an old link i found related to the problem.
I guess problem should be solved downloading patch 5983622 or upgrading to 22.214.171.124 right?.
If you already have 126.96.36.199 installed, patching is fairly easy. The patch ID for 188.8.131.52 is 15948641. I would also recommend patching WLS to 10.3.6 if you haven't already done so. This should be done before applying the 184.108.40.206 patch if you plan to do it. You must have a minimum of WLS 10.3.5 installed before moving to 220.127.116.11.
The WLS 10.3.6 patch IDs are as follows:
- Generic Upgrade Installer (generally for 64bit WLS installations) - ID 13529623
- Upgrade Installer for Linux 32-bit systems - ID 13529653
- Upgrade Installer for Windows 32-bit systems - ID 13529639
- Upgrade Installer for Solaris 32-bit systems - ID 13529649
As always, be sure to follow the included ReadMe or Installation Guide before starting any installation.
I think what I tested earlier was not exactly what you described. Also, I discussed this with Development and they reminded me that the right mouse click action will not fire the WHEN-MOUSE-CLICK trigger if you have a pop-up menu attached to the item.
Development has corrected this problem. Because version 10 is no longer entitled to Error Correction, we will not provide a fix for that version. However, if you have a Support account, you can request a fix for the current versions which are 18.104.22.168 and 22.214.171.124. Contact Support for more information. Be sure to provide the bug number I mentioned previously.
For anyone unaware, the feature would most often be used in a WHEN-MOUSE-CLICK trigger with code that looks something like this:
button_pressed := :System.Mouse_Button_Pressed;
IF button_pressed = '1' THEN
message ('Button 1 pressed.');
ELSIF button_pressed = '2' THEN
message ('Button 2 pressed.');
message ('Button 3 pressed.');
Message was edited by: MichaelFerrante(Oracle)
I remind you i'm using forms 11g Rel2 (126.96.36.199). And the item has not pop-up menu attached.
If you have installed 188.8.131.52, can you test a form-level when-mouse-click on item (which has no pop-up menu) and see if it works?. I mean, it detects button 3 was pressed? That is all i need to know.
Filing fix request is fine but would take some time(if is accepted). Although i agree with current situation, i mean if right click is pressed on a item which has a pop-up menu attached, it should show the menu and do nothing else, not even fire WHEN-MOUSE-CLICK.
Regards, Luis ...:)