-
Copyrights 2010 - Online Training Oracle Applications. All Rights Reserved.
|
Menus are list of items then end users use to select specific functions or operations. Example Go to Tools Menu Editor Provide code for the menu items. Select Save Go to its PL/SQL editor, provide the following code and compile. Similarly, select Exit Go to its PL/SQL editor provide the following code and compile. exit_form; Select cut Go to its property palette provide the following details Select copy Go to its property palette provide the following details Select Paste Go to its property palette provide the following details Save the menu. Compile the menu Now, create a new table EMPSEVEN in the database ( same as standard EMP table ) Create new form based on EMPSEVEN table using Data block wizard and layout wizard. Attach menu ( MY_MENU) to the form ( EMP_SEVEN ) Not just mentioning the Menu in Menu Module property, Get the FORMS_PATH directory information in default.env file. Copy MY_MENU.mmb and MY_MENU.mmx file in C:\DevSuiteHome_1\forms Save EMP_SEVEN.fmb Observer instead of default menu, we are able to get our menu. Popup menu Under EMP_POP select Popup Menus create an new menu Select M1 , Go to Tools Menu Editor Create Menu Items Cut, Copy , Paste and Clear using add button ( down ). Select menu item Cut Property palette Similarly Select menu item Paste Property palette Select menu item Clear Property palette Now, Assign the Popup menu ( M1) to the Item ( JOB) Select text item JOB Property palette File Save Now, right click on JOB, you can see the Popup menu.
|