Re: 'Do you like to save...' translation question
Date: Wed, 17 Jun 1998 21:12:40 GMT
Message-ID: <6m9bg7$ko6$1_at_nnrp1.dejanews.com>
In article <6m7002$v8q$2_at_main.amu.edu.pl>,
humpel_at_willow.iie.pz.zgora.pl (Tomasz Sidorkiewicz) wrote:
>
> I'm working on my project with Oracle forms 4.5. I would
> like to replace Forms-Alerts and Messages with my own messages in
> Polish language.
>
> Using the on-error and on-messages triggers I'm able to replace
> some of the Forms-messages.
>
> But some messages, like "Do you want to save the changes you have
> made?" I'm not able to replace by using these triggers.
>
> Is there any way to suppress / replace / translate these kind of
> messages???
>
> Thank you for your help!
>
> Greetings from Zielona Gora/Poland
>
> Tomasz Sidorkiewicz
>
>
Hi Tomasz,
Messages of that sort are triggered by Forms built-ins. You will have to
override the functionality of those built-ins and do it yourself.
To override "Do you want to save the changes you have made?" message, use the
KEY-EXIT trigger.
Check if your block is in CHANGED status :
GET_BLOCK_PROPERTY(block,STATUS);
If GET_BLOCK_PROPERTY(block,STATUS) = 'CHANGED' then show your message.
If user wants to save then
COMMIT_FORM; EXIT_FORM; Else EXIT_FORM(NO_VALIDATE);
End If;
End If;
Good Luck,
Igal.
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Wed Jun 17 1998 - 23:12:40 CEST