Re: Setting an item's property from another Form

From: DanHW <danhw_at_aol.com>
Date: 16 Dec 1999 01:03:41 GMT
Message-ID: <19991215200341.22311.00001049_at_ng-fy1.aol.com>


>
>We are using Oracle Forms 6.0.5 on Windows NT 4 and we are building a
>dynamic translation of our application. Translating one Form at a time, on
>the WHEN-NEW-FORM-INSTANCE trigger, works fine. However, we would like to
>translate all open Forms when the user selects another language from the
>SELECT LANGUAGE Form. We have a way to find all open forms, but is it
>possible to set the property (like the PROMPT_TEXT) of an item if it's
>parent Form isn't the active, CURRENT form? If so, how could we achive this
>(I tried preceding the item's name with the Form's name, like
>'FORM.BLOCK.ITEM', but it didn't work).
>
>Using GO_FORM to activate each form doesn't work, since it seems that
>GO_FORM interrupts the code (exits the procedure) after the call.
>

Perhaps you can set a global with the desired state, then on a when-form-activated trigger on each form, set the prompts as requested. That will only fire when they go back to the form.

Dan Hekimian-Williams Received on Thu Dec 16 1999 - 02:03:41 CET

Original text of this message