Re: Forms 4.5 Question: How to determine the block you just came from?
Date: 1997/07/03
Message-ID: <867948413.6762_at_dejanews.com>#1/1
In article <01bc8729$0f293920$764c1bcc_at_New.gcr1.com>,
"Todd Owers" <toddo_at_gcr1.com> wrote:
>
> Is there a way to navigate back to the block you just came from?
>
> I am developing an application with multiple blocks, and I would like to
> include an "About" box on my Help menu. The book "Developing Oracle Forms
> Applications", by Albert Lulushi, recommends creating a control block named
> "ABOUT" with one item, a "Close" button, so this is what I have done.
>
> I must navigate out of the "ABOUT" block in order for the window to close.
> Because this block can be called from any other block in the module, I want
> to be able to determine which block was the current block prior to
> navigating to the "ABOUT" block, so that input focus returns to the same
> place it was when the user invoked Help -> About, and the user sees no
> disruption.
In your procedure/trigger where you do a go_item to the about.close button, save the :system.cursor_item in a parameter or hidden item. Then you can go a go_item back to the spot from the when-button-pressed trigger on the close button.
Regards,
Steve Cosner
http://members.aol.com/stevec5088
QA: Dynamic browse & update utility form available
-------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to UsenetReceived on Thu Jul 03 1997 - 00:00:00 CEST