You can follow the steps given below to implement a popup menu on your page.
1) In application designer go to File > New and select Menu
2) On the second page a small window opens that shows standard and Popup option Select Popup.
3) Once the popup menu is selected click ok and it will take to a new menu page where you have to double click on the menu to add an item to the popup menu. give some name and label to menu.
4) Select the type of action. If it is a simple transfer to a new page, select Transfer. If you are planning to execute your code, then select PeopleCode. If you have selected Transfer option, then provide the details of the page, menu, component and action.
5) If you have selected PeopleCode option, then right click on the menu item and select View PeopleCode. It will open the Menu Item selected PeopleCode event. Write the logic or code you plan to implement over here.
6) You have successfully created a popup menu. Now you need to add it to a page field. For that open the Page Field Properties of the field you plan to implement the popup menu. Go to the Use tab and provide the name of the popup menu you have just created in Popup Menu edit box.
Once the popup menu name is added to the page filed. here for example I have name field on the page so the popup menu would be seen as shown below:
Once we click the popup menu it would open the popup menu added page either in same re-use or new window as given during the time of creation of it.
**********************************Thanks***********************************
No comments:
Post a Comment