Forum Stats

  • 3,781,431 Users
  • 2,254,519 Discussions
  • 7,879,691 Comments

Discussions

Oracle Forms 10 g - Editor issues

648894
648894 Member Posts: 6
edited Aug 26, 2008 12:40AM in Reports
Hi all,

I am having one issue related to Editor Facility provided by Oracle.
In my application, suppose user selects one text box and click on Editor Button then default Editor Box will get populated on the screen. We are displaying this Editor by using Do_Key ('EDIT_FIELD'); command.
Now default editor have 3 buttons. Ok, cancel and search. Also there is one cross button present Top-Right corner of the Editor box.
Case 1 -- If user modifies the data and clicks on Ok then modified data is displayed in the text box.
Case 2 -- If user modifies the data but afterwards don’t want those changes, so he simply clicks Cancel button. Then Editor Box will close and old data present in text box.
Case 3 -- If user modifies the data and clicks on cross button present at Top-Right corner of the Editor box, the editor box will close and old data will be present in text box.

Now the issues is -
Suppose user opens Editor Box, modify the data and clicks on CROSS button. Then in case of modification I want to show confirmation message box to the user that "You have modified the data. Do you want to save it? With Save and Cancel button.
If user clicks save, then modified data should be displayed in text box. This is same thing which happens in case of ok button.
If user clicks on Cancel button then message box and editor box should closed and old data will be present in text box.

Can we implement this change? Can we get Handle to Oracle Editor Box? Is there any other way to implement this functionality?

Your help or pointers would rally appreciated.

Thanks in advance.
Tagged:

Answers

This discussion has been closed.