Traversal of custom item menu icons in form

Here is one doubt for me
me created one menu design with customitem subclass creating background image with sprite class and menu icons over it as in mobile(grid view) using default method paint() g.drawImage();
and then appended this customitem to form. Now the problem is how to traverse among the custom item menu icons.
i am aware of traverse() and traverout() methods, but don't know how to enable it
Pls suggest me expecting a positive reply
Thanks
charles v c

this is the code that i use
import java.util.Vector;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.MIDlet;
import javax.microedition.midlet.*;
import javax.microedition.io.*;
import java.io.*;
public class IconsTester implements CommandListener, ItemStateListener {
private Display display;
private Form mainForm;
private ChoiceGroup optionsGroup;
private int itemNum;
private Command CMD_NEXT= new Command("Next", Command.ITEM,
2);
private Command CMD_BACK= new Command("Back", Command.BACK,
1);
private Image newApp = null;
private Image viewApp = null;
private Image cancelApp = null;
public IconsTester(Display d, Form backF)
display = d;
mainForm = new Form("Appointments");
mainForm.append("Choose an action to be performed: ");
Image[] imageArray = null;
try {
newApp = Image.createImage("/success.png");
viewApp = Image.createImage("/search.png");
cancelApp = Image.createImage("/time.png");
imageArray = new Image[] { newApp, viewApp, cancelApp };
catch (java.io.IOException err) {
System.out.println(err);
mainForm.append(new Spacer(40,40));
mainForm.append(newApp);
mainForm.append(new Spacer(40,40));
mainForm.append(viewApp);
mainForm.append(new Spacer(40,40));
mainForm.append(cancelApp);*/
mainForm.addCommand(CMD_BACK);
mainForm.addCommand(CMD_NEXT);
mainForm.setCommandListener(this);
mainForm.setItemStateListener(this);
display.setCurrent(mainForm);
public void commandAction(Command c, Displayable s) {
if (c == CMD_BACK) {
display.setCurrent(Login.list);
else
mainForm.setItemStateListener(this);
public void itemStateChanged(Item item)
if( item.equals(newApp))
{    itemNum = 0;
new NewAppointment(display, mainForm);
else if( item.equals(viewApp))
{    itemNum = 2;
new NewAppointment(display, mainForm);
else if( item.equals(cancelApp))
{    itemNum = 1;
new NewAppointment(display, mainForm);
}

Similar Messages

  • Custom Item Type Icon not displayed

    I have created a custom Item type from the base File type for PDF files.
    I have asociated a PDF Icon with this type.
    When I create folder object of my new PDF Type, my Icon does not ever seem to show up.
    Why?
    I must change the image associated with each item (secondary tab). to get an Icon to show up.
    Why?
    null

    Stuart,
    According to the help text:
    "Currently, this icon is not used by Oracle Portal. The icon may be used in future releases."
    But, if you want to show it, you can use a procedure in the custom item type to display the icon. Just find the URL to the icon (in Internet Explorer, right click on the icon and select Properties to get the URL) and write a simple procedure to display it. For an example of a custom item type procedure, see the discussion at http://technet.oracle.com:89/ubb/Forum82/HTML/000379.html .
    Regards,
    Jerry
    null

  • How can I display custom item type icon?

    portal 10.1.4
    when I try to show the icon of a custom item type, there is no way to show the type of the uploaded archive. Anybody?
    Thanks in advance

    Yup, possible using system variables that can track time and conditional advanced actions.

  • Changing item menu icon

    Hie
    I have implemented a menu with each menu item type ="radio".
    Functionality is as desired.
    Only thing i want to modify is the icon which appears as a
    dot. What i want to display instead is a tick mark (which actually
    comes when i use type="check"). Changing the type property will not
    work as it will change the behavior too.
    So how to get a tick mark for the radio type behavior of menu
    items?

    Right-click the icon and choose Properties.
    Under Icons there is a option to change the Button icon.

  • Interactive Report - Add a 'custom' Action Menu Item

    Hi,
    I'm wondering if it is possible to add 'custom' Action menu items to an interactive report?
    I have a situation where I want to use all the richness that an interactive report gives with it's out of the box functionality, then if a download is selected I need to be able to set a 'lock' on the currently selected records set before the records are downloaded.
    I've had a good look around the forum and various other sites and I can't seem to find anything in this area. The nearest I can find is on the OBD tutorials the ability to add a 'Reset' button.
    I know how to create custom download functionality, to which I could add the required record locking functionality and in turn link to a button, but what I don't know how to do is pull out the selection variables from the Interactive Report in order to construct my select query.
    Maybe I'm barking up the wrong tree and there's a better way if so any suggestions would be most welcome.
    Many thanks in advance Peter..
    Edited by: Pete on Jun 30, 2011 4:16 PM
    Edited by: Pete on Jun 30, 2011 4:24 PM
    Edited by: Pete on Jun 30, 2011 4:31 PM

    Hi,
    For your issue, in SharePoint Designer, Click Custom Action->View Ribbon->Create Custom Action.
    Then the extra form will show up in the Ribbon.
    Refer to the following link:
    http://www.abelsolutions.com/totm/creating-a-custom-action-in-2-steps-with-sharepoint-designer/
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • Custom item does not appear on Hotsync Menu

    I have a Sprint Treo 700p.  My work email was converted to Outlook from GroupWise.  I am able to sync successfully, but received a message about changing profiles and conduits.  I tried to do this by clicking the Hotsync icon in system tray.  The menu that appeared only had three items (Settings, Install, Exit).  The CUSTOM item does not appear.  I am using Hotsync Manager 7.0.2.  How can I get back the CUSTOM menu item?
    Thanks in Advance,
    Corey
    Post relates to: Treo 700p (Sprint)

    Those Hotsync options are what display on Palm Desktop 6.2.2, not prior versions 4.x.
    To get to your Hotsync settings, click the Hotsync icon, and select Settings.  Then click Applications. Select the conduit you wish to change, and click Configure.
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • Firefox/3.6.10 shows message whenever I click on an icon needing Internet access, saying 'Firefox couldn't install this item because "install rdf" (provided by the item) is not well-formed or does not exist' and advising me to contact the author - ???

    Whenever access to the Internet is needed, clicking on any icon or link (including the Firefox icon) results in a delay of around 20 secs., followed by the appearance of the error message, headed "Malformed File". The message reads 'Firefox couldn't install this item because "install rdf" (provided by the item) is not well-formed or does not exist. Please contact the author about this problem.'
    Clicking OK or closing the box leads to a further delay of about 20 secs. after which the required action takes place! Of course, it could be said that it's really only a delay, so I should just get used to it, but it's still a malfunction, it's a pain in the neck or another region, and I really would like to cure it. Any suggestions - please????

    https://support.mozilla.com/en-US/questions/756907

  • How to Get List Item in Custom Context Menu?

    Hi,
    I got this code from the net.
    <CustomAction Id="SPTest.CustomMenuItem.ButtonClicked"
    RegistrationType="ContentType"
    RegistrationId="0x0101"
    Location="EditControlBlock"
    ImageUrl="/_layouts/IMAGES/DOCLINK.GIF"
    Sequence="600"
    Title="Click Me!"
    Description="Shows an alert message for this content type."
    >
    <UrlAction Url="javascript:alert('Hello World!');" />
    </CustomAction>
    It creates a custom context menu. How can i get the selected item using that code..
    Sorry for the tons of question. SharePoint newbie here (5 weeks in SP), Hehhehe!

    If you can redirect your request on context.....you can try this line of code
    <UrlActionUrl=”~site/_layouts/ItemAudit.aspx?ID={ItemId}&amp;List={ListId}”/>
    The Idea is to send in query string parameter and get the ItemID in the Pageload Event of the page you want to redirect to.
    Other tokens that are available
    Token
    Replaced By
    ~site/
    SPContext.Current.Web.ServerRelativeUrl
    ~sitecollection/
    SPContext.Current.Site.ServerRelativeUrl
    {ItemId}
    item.ID.ToString()
    {ItemUrl}
    item.Url
    {SiteUrl}
    web.Url
    {ListId}
    list.ID.ToString(“B”)
    {RecurrenceId}
    item.RecurrenceID
    Srikant N , MCPD SharePoint Developer 2010

  • How do i disble edit menu's delete item on the oracle forms 11i

    How do i disble edit menu's delete item on the oracle forms 11i
    i have an oracle form that i created using standard template, i am able to disable the edit.clear button but cannot disable the edit.delete button.
    Pelase help.

    Hi user6010265
    Welcome here :)
    but unfortunatly u mis-choose the right forum pls follow the following link they might be more helpful than us..
    Transfer alert in 11i
    Regards,
    Abdetu...

  • WebUtil gives FRM-40735 When-Custom-Item-Event ORA-06508 when starting form

    I have downloaded and installed/configured webutil on RH Linux AS2.1 per the manual and readme file.
    ( jacob.jar and webutil.jar signed on NT machine per instruction then loaded on LINUX server webutil/lib )
    I have incorporated webutil with an existing form as follows:
    1. linked webutil.pll
    2. subclassed webutil from webutil.olb
    3. compiled all
    4. compiled module
    Form was deployed on 9iAS.
    When the applet loads the following is displayed in the java console:
    Downloading http://myserver.mydomain.com:7779/forms90/webutil/webutil.jar to JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/pfs.jar from JAR cache
    Downloading http://myserver.mydomain.com:7779/forms90/webutil/jacob.jar to JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://myserver.mydomain.com:7779/forms90/java/pfs.jar from JAR cache
    RegisterWebUtil - Loading Webutil Version 1.0.2 Beta
    connectMode=HTTP, native.
    Forms Applet version is : 90270
    When the form containing webutil is called, the following is displayed in the java console and the error mentioned in this topic's subject is given:
    2003-Jul-10 16:53:32.607 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.707 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.738 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.758 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.798 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:32.998 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:33.38 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2003-Jul-10 16:53:33.58 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    Why can't webutil find the bean method/function?

    Per a previous suggestion, I have created a simple form module with one block containing a single push_button.
    The when-button-pressed trigger contains a simple call to client_get_file_name.
    I then:
    1. Attached the webutil.pll
    2. subclassed webutil from webutil.olb
    3. compiled all plsql
    4. created then deployed fmx
    The same errors are generated when this simple form loads without any calls to webtuil.
    I added the following debug code to the when-custom-item-event triggers of each bean area item in the webutil block:
    declare
    dataType pls_integer;
    dataPayload varchar2(32000 char);
    begin
    WEBUTIL_CORE.CustomEventHandler(:SYSTEM.CUSTOM_ITEM_EVENT,:SYSTEM.CUSTOM_ITEM_EVENT_PARAMETERS);
    exception
         when others then
         get_parameter_attr(:system.custom_item_event_parameters,'WUC_DATA',dataType, dataPayload);
         pfsutil.dbug(get_application_property(current_form_name)||'-WebUtil: '||'Item: '||:system.trigger_item||' Event: '||:system.custom_item_event||' :'
         ||'Data: '||dataPayload||' Error: '||sqlerrm);
    end;
    The following information is captured in the log:
    17:07:59 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_CLIENTINFO_FUNCTIONS Event: WUC_REGISTER :Data: WUI|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:55 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_FILE_FUNCTIONS Event: WUC_REGISTER :Data: WUF|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:58 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_HOST_FUNCTIONS Event: WUC_REGISTER :Data: WUH|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:08:59 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_SESSION_FUNCTIONS Event: WUC_REGISTER :Data: WUS|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:00 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_FILETRANSFER_FUNCTIONS Event: WUC_REGISTER :Data: WUT|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:01 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_OLE_FUNCTIONS Event: WUC_REGISTER :Data: WUO|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:03 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_C_API_FUNCTIONS Event: WUC_REGISTER :Data: WUL|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    17:09:04 WEBUTILTEST-WebUtil: Item: WEBUTIL.WEBUTIL_BROWSER_FUNCTIONS Event: WUC_REGISTER :Data: WUB|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    This may be initiated by Webutil_core.initWebUtil and the result of Webutil_core.registerBean?
    This following error information is captured when the push button is pressed:
    17:09:08 WEBUTILTEST-WebUtil: Item: MAIN_BLK.TEST_BUT Event: WUC_REGISTER :Data: WUB|192.168.111.2|Windows NT|Administrator|;|\|en Error: ORA-06508: PL/SQL: could not find program unit being called
    Hope this helps.
    Thank you for the quick responses.

  • BUG: Toggling interface on/off causes missing menu toolbar items and icons in Photoshop CS4!

    When I toggle the interface on/off it causes missing menu toolbar items and icons until I exit and restart Photoshop CS4.  I know this can happen if problem filters are installed.  So I have the latest Alien Skin filters installed and have already followed their AutoLayer2.8li file updates to resolve Windows Photoshop CS4 issues.  I also have Luxology imageSynth 2.0 filter installed.  So since all my filters are updated to CS4 compatible versions, I shouldn't have this problem but yet it occurs.  Any way to fix this?
    I'm using WinXP SP2, 4 GB RAM, GeForce GTX 260 Core 216 with newest 185.85 driver.  I have 3D canvas rotation turned on.

    ghost zero wrote:
    toggle the interface on/off it
    What do you mean by this? Are you using standard methods (i.e. the buttons on the top-right of the screen) in Windows Explorer to minimize and then restore? or what?
    Are you on XP 64-bit? or 32-bit?
    Did you install driver version 185.85 before or after the problem started?
    Do you just one GTX 260, or are you doing SLI at all?
    Do you have more one monitor? If so, and you limit yourself to just one, do you still have the problem?
    Also, just to make sure that this problem wasn't somehow caused by your plug-ins (because I have seen onOne plug-ins, at least, that install several DLL files and you can't disable DLLs by renaming with ~ like with plug-in files), or caused by a messed up install of PS, go ahead and repair the PS install. Follow the "Restore the default set of Photoshop CS4 plug-ins" section in this document, except that after Step 3 (or Step 5, if you're on 64-bit Windows) get rid of the entire "Adobe Photoshop CS4" folder from Program Files (and the one in Program Files (x86) if you're on 64-bit Windows):
    http://go.adobe.com/kb/ts_kb409112_en-us

  • Creation of Custom context menu in CL_GUI_TEXTEDIT

    Hello all,
    I need to develop a custom context menu in the Text Editor.
    I am using the <b>CONTEXT_MENU</b> event of the class
    <b>CL_GUI_TEXTEDIT </b>for the same.
    It is giving a short dump with an exception 'empty_obj' in the method
    <b>CL_CTXMNU_MGR=>CREATE_PROXY</b>.
    Please help.

    Hello Tejas
    The following sample report ZUS_SDN_TEXTEDIT_CTXMENU shows how to trigger context menus in text editor. Please note that the editor must be set <b>enabled</b>.
    If you inactivate subroutine <b>SET_REGISTERED_EVENTS</b> the new context menu function will no be displayed. Thus you need to <b>register</b> the event for context menu handling.
    *& Report  ZUS_SDN_TEXTEDIT_CTXMENU
    *& Flow logic of screen 100.
    *      PROCESS BEFORE OUTPUT.
    *       MODULE STATUS_0100.
    *      PROCESS AFTER INPUT.
    *       MODULE USER_COMMAND_0100.
    REPORT  ZUS_SDN_TEXTEDIT_CTXMENU.
    TYPE-POOLS: cntl.  " Types for Controls
    DATA:
      gd_okcode      TYPE ui_func,
      go_docking     TYPE REF TO cl_gui_docking_container,
      go_textedit    TYPE REF TO cl_gui_textedit,
      gd_name        TYPE thead-tdname,
      gs_header      TYPE thead,
      gd_langu       TYPE thead-tdspras,
      gt_lines       TYPE STANDARD TABLE OF tline.
    *       CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-METHODS:
          handle_context_menu
            FOR EVENT context_menu OF cl_gui_textedit
              IMPORTING
                menu
                sender,
          handle_ctxmenu_selected
            FOR EVENT context_menu_selected OF cl_gui_textedit
              IMPORTING
                fcode
                sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
    *       CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_context_menu.
        CALL METHOD menu->add_function
          EXPORTING
            fcode       = 'MY_FUNC'
            text        = 'My Function'
    *        ICON        =
    *        FTYPE       =
    *        DISABLED    =
    *        HIDDEN      =
    *        CHECKED     =
    *        ACCELERATOR =
      ENDMETHOD.                    "handle_context_menu
      METHOD handle_ctxmenu_selected.
        CASE fcode.
          WHEN 'MY_FUNC'.
            MESSAGE 'My function selected from ctxmenu' TYPE 'I'.
          WHEN OTHERS.
        ENDCASE.
      ENDMETHOD.                    "handle_ctxmenu_selected
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    PARAMETERS:
      p_pspnr    TYPE prps-pspnr.
    START-OF-SELECTION.
    * Get the text object
      gs_header-tdid = 'LTXT'.  " long text
      gs_header-tdspras = syst-langu.
      CONCATENATE syst-langu p_pspnr
          INTO gs_header-tdname.
      gs_header-tdobject = 'PMS'.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
    *     CLIENT                        = SY-MANDT
          id                            = gs_header-tdid
          language                      = gs_header-tdspras
          name                          = gs_header-tdname
          object                        = gs_header-tdobject
    *     ARCHIVE_HANDLE                = 0
    *     LOCAL_CAT                     = ' '
    *   IMPORTING
    *     HEADER                        =
        TABLES
          lines                         = gt_lines
        EXCEPTIONS
          id                            = 1
          language                      = 2
          name                          = 3
          not_found                     = 4
          object                        = 5
          reference_check               = 6
          wrong_access_to_archive       = 7
          OTHERS                        = 8.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL SCREEN '0100'.
    END-OF-SELECTION.
    *&      Form  SET_REGISTERED_EVENTS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM
    set_registered_events .
    * define local data
      DATA:
        lt_events      TYPE cntl_simple_events,
        ls_event       TYPE cntl_simple_event.
      TYPES: BEGIN OF cntl_simple_event,
           eventid TYPE i,
           appl_event TYPE c,
         END OF cntl_simple_event.
      ls_event-eventid = cl_gui_textedit=>event_context_menu.
      APPEND ls_event TO lt_events.
      ls_event-eventid = cl_gui_textedit=>event_context_menu_selected.
      APPEND ls_event TO lt_events.
      CALL METHOD go_textedit->set_registered_events
        EXPORTING
          events                    = lt_events
        EXCEPTIONS
          cntl_error                = 1
          cntl_system_error         = 2
          illegal_event_combination = 3
          OTHERS                    = 4.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " SET_REGISTERED_EVENTS
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'MAIN_0100'.
    *  SET TITLEBAR 'xxx'.
      CLEAR: gd_okcode.
      IF ( go_textedit IS NOT BOUND ).
        CREATE OBJECT go_docking
           EXPORTING
             parent                      = cl_gui_container=>screen0
    *        REPID                       =
    *        DYNNR                       =
    *        SIDE                        = DOCK_AT_LEFT
    *        EXTENSION                   = 50
    *        STYLE                       =
    *        LIFETIME                    = lifetime_default
    *        CAPTION                     =
    *        METRIC                      = 0
            ratio                       = 90
    *        NO_AUTODEF_PROGID_DYNNR     =
    *        NAME                        =
          EXCEPTIONS
            cntl_error                  = 1
            cntl_system_error           = 2
            create_error                = 3
            lifetime_error              = 4
            lifetime_dynpro_dynpro_link = 5
            OTHERS                      = 6.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CREATE OBJECT go_textedit
          EXPORTING
    *        MAX_NUMBER_CHARS       =
    *        STYLE                  = 0
            wordwrap_mode          =
                c_textedit_control=>wordwrap_at_windowborder
    *        WORDWRAP_POSITION      =
            wordwrap_to_linebreak_mode =
               c_textedit_control=>true
    *        FILEDROP_MODE          = DROPFILE_EVENT_OFF
            parent                 = go_docking
    *        LIFETIME               =
    *        NAME                   =
          EXCEPTIONS
            error_cntl_create      = 1
            error_cntl_init        = 2
            error_cntl_link        = 3
            error_dp_create        = 4
            gui_type_not_supported = 5
            OTHERS                 = 6.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL METHOD go_textedit->set_text_as_r3table
          EXPORTING
            table           = gt_lines
          EXCEPTIONS
            error_dp        = 1
            error_dp_create = 2
            OTHERS          = 3.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL METHOD go_textedit->set_enable
          EXPORTING
            enable            = cl_gui_cfw=>true
          EXCEPTIONS
            cntl_error        = 1
            cntl_system_error = 2
            OTHERS            = 3.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      PERFORM set_registered_events.
      SET HANDLER:
        lcl_eventhandler=>handle_context_menu     FOR go_textedit,
        lcl_eventhandler=>handle_ctxmenu_selected FOR go_textedit.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      CASE gd_okcode.
        WHEN 'BACK'  OR
             'EXIT'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Regards
      Uwe

  • Menu bar in forms 9i

    How can i hide the menu bar in form 9i??

    Okay, got it. Please try this:
    In order to hide the WINDOW option from the menu you must use a custom menu.Add a menu item to your menu and name it WINDOW. Set its visible property to NO. This can be done on the property palette or set programmatically using SET_MENU_ITEM_PROPERTY.
    On older versions there was a bug that forced you to set it in the code, but that appears to be resolved. If you find that it doesn't work by setting it in the property
    palette try setting it in the code (WHEN-NEW-FORM-INSTANCE).
    Fran

  • Disable Menu on System Form( like Purchase Order)

    Hi,
             I need to Change status of  Menu on System Form. Is this Possible?
    I want to disable Print Preview(Menu UID "519") And Print("520")  Menu on System Form. Please reply ASAP...
    Thnx & Warm reg
    Deepak Gaur.

    Deepak,
    tehre are 2 ways
    1. capture the menuevent for thsi and set bubble event to false
    2. directly set the icon inactive (enabled false)
    preview is pval.menuid = 519
    print is 520.
      Dim oMenuItem As SAPbouiCOM.MenuItem
    oMenuItem = SBO_Application.Menus.Item("519")
    omenuitem.enabled = false

  • Disable 'SAVE' button on 'FILE' menu on some forms using personalization

    Hi there,
    I need to disable 'SAVE' button on 'FILE' menu on some forms using personalization. Please let me know if you know how to do this. Currently we have done this through custom.pll and we are trying to phase out custom.pll. Any help is appreciated.
    thanks
    Sudeep

    whether i know u cannot disable SAVE toolbar through Personalization. You do it with custom.pll.
    CHECK FOLLOWING LINK
    Disable Save item from Contrl Menu
    Pradhyumn Sharma

Maybe you are looking for

  • JDK 1.3.1 Problem with Pentium 4....

    I have same porblems with JDK 1.3.1 . The same configuration on to computers: Borland JBuilder and JDK1.3.1 On Pentium 3 and WIN2K it run fine, but on Pentium 4 and XP it can not run... Avry sing that i do with java or javaw i have error...

  • Internet setup

    I'm trying to setup internet access on Solaris 10. I followed the instructions from several posts but am still unable to get access. Here is what I've done so far. - Added the nameserver IP's to resolv.conf - copied nsswitch.dns to nsswitch.conf - en

  • Mount USB, Shutdown,

    Hello, I'm not very new to Linux and switched to arch after using Ubuntu and a little bit gentoo and Mandriva. So I know how to mount beeing root, howto modify confugration files (fstab), But here is some things that not works, probably a configurati

  • Business Object Financial Consolidation v10.5  is supported in Windows 7 ?

    Hello, I am administrator of BoFC. I would like to know if new computer under WIndows 7 works fine with BoFC, and if this OS version is supported by SAP ? thank you for your help. best Regards. Pierre

  • Please Help! Buying Songs!

    Hello! I had a question. Today I downloaded the song Just Stand Up! and it came with a digital booklet. I downloaded it on my ipod touch and it told me that when i connected to the computer that the digital booklet would download but it didnt. Can an