Re: Forms 4.5 when-mouse-double-click
Date: 1997/12/16
Message-ID: <882255595.113115154_at_dejanews.com>#1/1
It sounds like you are needing to click three times to actually get your detail to display the proper record. This shouldn't be necessary. I tried to duplicate your problem, but I couldn't. When I double-click on an item on a different record in my multirecord block, a message in my WMDC trigger tells me that the :system.trigger_record, :system.cursor_record, and get_block_property('BLK',current_record) all return the correct record number.
Here is a trick to display all the detail items of your record: Place the detail items in the same multi-record block, but on each one, change its Items Displayed property from 0 to 1, and place it on the detail canvas. (Leave the original multi-record items on your primary canvas.) Now when you click on any record, your detail canvas is automatically updated with the items from the row you clicked on. Your WMDC trigger should only need to display the detail canvas, since navigation to the selected record is automatic.
If some of the items on the detail canvas are duplicates of the items in your multirow block, use the Mirror Item property to mirror the value from the original item on the mulitrow block to the copy on the detail canvas.
HTH,
Steve Cosner
http://members.aol.com/stevec5088 -- downloadable utility form available
In article <34955A72.711C_at_boco.co.gov>,
tlberukoff_at_boco.co.gov wrote:
>
> I have a multi-record block. I have attached a WMDC trigger to it and
> added code so the double click will bring up a detail canvas of the
> record double clicked on. The problem is that the user must first
> select/highlight a record and THEN double-click on it. I would like to
> have it so that if record A is the current record, the user can
> double-click on record B and navigate to the detail canvas without
> having to first select it as the current record. I hope I am explaining
> myself well enough :-).
> Any help is appreciated.
>
> Tracey
-------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to UsenetReceived on Tue Dec 16 1997 - 00:00:00 CET