How to disable close button during runtime

Hi everybody.,
Please help me how to disable the close button at top of the window during runtime. I dont want the user to use that button to close. I have used button called Exit in that form but sometimes users closing by clicking that button.
I am using Oracle form 10g R1.
Thanks in Advance,

Hi,
Thanks Mr. Arif Khadas for your quick reply.
While running the form, in window there will be two close button, one is in form and another one is in Internet Explorer. By making changes on the property what you said above this will hide only the form's close button. I want to hide the internet explorer close button also.
Thanks in advance.

Similar Messages

  • How to disable UI element during runtime

    Hi!
    Can someone show me how to access the properties of ui elements during runtime?
    eg. in the method  WDDOINIT i want to enable/disable the GroupBox "Group"
    how to?
    thanks

    >
    Abhimanyu Lagishetti wrote:
    > ideal way is the one i specified,
    >
    > other way is you have to change it in WDDOMODIFYVIEW
    >
    > to get any UI element this is the code
    >
    > view->get_element( '<ID of the UI element>' ). which return the corresponding UI element reference
    >
    > the UI element classes start with CL_WD_*.
    >
    > for example: inputfield CL_WD_INPUT_FIELD
    > data: lr_input type ref to cl_wd_input_field.
    > lr_input ?= view->get_element( '<ID of the UI element>' ).
    > lr_input->set_enable( abap_true ).
    >
    > Abhi
    I would like to stress that this NOT the SAP recommended way of controlling the properties on UI elements - the first solution you were give would be the recommended approach.  The direct UI coding access should be used as a last resort when working with dynamically generated UI elements.  Otherwise you should always try and set the UI element properties via context binding. This makes your application more accessible to customizing/personalization, makes it easier to maintain over time and provides the best performance.

  • How to disable X button on internet explorer(IE)

    hi ,
    can u please tell me how to disable close button of IE ,if possible send java script code
    thanq

    So you want to annoy your users, eh? You've already annoyed us here, since this is a Java forum, not an ECMAScipt forum. What do you want to do for an encore?

  • How to disable minimize button(icon) of jframe

    how to disable minimize button(icon) of jframe

    HELP!
    I need to do a similar thing. Along with a couple other things.
    I was able to control some windows thru a unix window manager like I would for Motif (the use the window name of AWTapp or AWTdialog are recognized when doing xwininfo) That is all I can seem to get. Nothing changes this.
    Does anyone know how?
    Anyway. mwmDecorations and mwmFunctions settings appear to allow setting of some of the windows. But I need control 100%of the time.
    I need to disable the CLOSE button in all java windows or find a way that the window manager event can get back to the java application. Currently it is not recognized.
    In some windows I need other items disabled such as SIZE & MAXIMIZE.

  • Disable close button of a portlet?

    Hi,
    How can I disable close button of a portlet programettically? I have a requirement to disable a portlet based on some condition from another portlet. If the condition is true I have to display a portlet with close button in window bar.Otherwise display the portlet without close button.
    Thanks
    Pradeep

    We actually modified the buttondelete.jsp in frameworks.
    Kunal Mittal

  • How to disable hold button in purchase order creation.

    hi
    how to disable hold button in purchase order creation.

    Select single * from VBAK where clause
    ---It fetches single record from the database, based on the condition you specified in the where clause.
    Where as select * from VBAK up to 1 row
    ---Fetches first record if the condition specified in the where clause is satisfied, otherwise it doesn't fetch any record

  • How to disable save button on selection screen (1000) run from other report

    Hi Experts,
    Can any one let me know how to disable save button on selection screen (1000) run from other report.
    Say I am running from report R1 which submits report R2, but the save button should be disabled on
    report R2(selection screen 100).
    Thanks in advance.
    Regards
    RP.

    Hi RPReddy16 ,
    Try this:
    DATA :BEGIN OF t_extab occurs 0,
                     fcode like rsmpe-func,
                 END OF t_extab.
    REFRESH T_EXTAB.
    MOVE 'SAVE' TO T_EXTAB-FCODE.
    APPEND T_EXTAB.
    CLEAR T_EXTAB.
    SET PF-STATUS 'STATUS' EXCLUDING T_EXTAB.
    Regards,
    José

  • How to add close button in pannel ?

    hai friends,
        how to add close button in pannel ? give any example.
    regards,
    welcomecan

    Hi Welcomecan,
    You can use the TitleWindow as suggested by Subeesh for having a built in close button...The TitleWindow is infact an extension of the Panel container. TitleWindow is most generally
    used for creating PopUp Windows.
    Check the below link for examples...
    http://blog.flexexamples.com/?s=TitleWindow
    Thanks,
    Bhasker

  • How to disable Setting button in Tools - Options - Advanced - Network from windows registry?

    Dear support,
    Now, my office use Firefox as default browser to access WebServer. And there are some policy that users must use ProxyServer. I do not want user change proxy setting in Firefox. How to disable Setting button in Tools - Options - Advanced - Network from windows registry?
    Thank you.
    Treky

    You can not use the Windows registry to disable items in Firefox. This link shows how to lock down Firefox proxy settings, change the values to suit your needs:
    http://www.stbernard.com/ip5kb/iPrism/WhatsNew/50SupportFiles/SupportFiles/IP0460.htm
    One minor variation, in step 4 instead of adding that line to all-js, you can create a file called ''local-settings.js'' containing the line shown and save the file in the same folder as all.js

  • How to disable Setting button in Tools - Options - Advanced - Network..i've read an article that solved this problem..but thats problem contains web adress that couldn't be opened..any other solution??? thanks before best regard

    How to disable Setting button in Tools - Options - Advanced - Network..i've read an article that solved this problem..but thats problem contains web adress that couldn't be opened..any other solution???
    thanks before
    best regard
    -ariansyah-

    You can disable or remove that button, but that won't prevent users from making the changes on the about:config page directly.<br />
    You can lock the related network.proxy prefs if you do not want users to change the connection settings.
    See:
    *http://kb.mozillazine.org/Locking_preferences
    * http://kb.mozillazine.org/network.proxy.type
    * http://kb.mozillazine.org/network.proxy.%28protocol%29
    * http://kb.mozillazine.org/network.proxy.%28protocol%29_port

  • How to disable the button in application toolbar in report pgm

    Can anyone help with How to disable the button in application toolbar in report pgm

    Hi,
    You can use it_excluding to disable button on the tool bar.You have to find the function code for the required button and append that function code to the it_excluding .The optional IMPORTING parameter IT_EXCLUDING is an internal table. It is only needed if the caller uses the list tool standard interface but wants to deactivate interface functions which he or she does not need.You can have your defined pf-status using I_CALLBACK_PF_STATUS_SET.
    SAMPLE PROGRAM
    tables spfli.
    type-pools: slis.
    DATA W_FCODE TYPE SLIS_EXTAB-FCODE.
    data: t_spfli TYPE SPFLI OCCURS 0 WITH HEADER LINE.
    select * from spfli into table t_spfli.
    data : t_excluding TYPE SLIS_T_EXTAB .
    W_fcode = '&OUP'.
    append w_fcode to t_excluding.
    W_fcode = '&ODN'.
    append w_fcode to t_excluding.
    call function 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    I_STRUCTURE_NAME = 'SPFLI'
    IS_LAYOUT =
    IT_FIELDCAT =
    IT_EXCLUDING = T_EXCLUDING
    tables
    t_outtab = T_SPFLI
    EXCEPTIONS
    PROGRAM_ERROR = 1
    OTHERS = 2.
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/99/49b844d61911d2b469006094192fe3/frameset.htm
    Regards,
    Priyanka.

  • How To Disable Delete Button on AR Customer Search

    hi Guru,
    How to Disable the Delete Button of AR Customer Search Form.

    Hi;
    Duplicate post, please make post once
    How To Disable update Button on AR Customer
    Regard
    Helios

  • How to disable a button

    Hy Experts,
    I am a Basis guy and I want to know how to disable a button from any screen.
    Basically I have to Disable a button "Save as Completed" from the screen of t.code MIR7.
    Is there any way to hide it. If it is then please let me know, I will be thankful to you.

    Dear Aplesh,
    Check this:
    It will give you the description along with screen-shots.
    http://husnie.wordpress.com/
    Regards,
    Rakesh

  • How to disable maximize button of the java.awt.Window ????

    How to disable maximize button of the java.awt.Window !!!!
    Help needed

    How to spam the forum with the same fuqin question. Please get lost.

  • How to disable close & minimize button of jframe?

    how can i disable the close and minimize button of the Jframe?

    to disable minimize
    setResizeable(false);
    to inactivate the close button
    setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);

Maybe you are looking for

  • RE: Dispatcher stopped while restarting of SAP

    Hi, When we are trying to restart SAP server, dispatcher is going to stopped state. For more details i have attched the trace file trc file: "dev_w0", trc level: 1, release: "700" ACTIVE TRACE LEVEL           1 ACTIVE TRACE COMPONENTS      all, MJ B 

  • Problem with X -config (freeze + black screen)

    Hi, everyone. I'm a newbie in linux, so dont punch me . I was following the beginners guide & after X -config /root/xorg.conf.new got freeze + blackscreen (alt + ctrl + bckspc or alt + Fn dont works). I have created /X11/xorg.conf & can start X serve

  • Keyboard on 13" acting strange

    I've got a MacBook 13" that I bought used, the previous owner had spilled Coke onto the keyboard, got it for cheap as the backspace key didn't work. I replaced the keyboard with a new (used) one, although it is Backlit (the original was not). Now non

  • Need 750+ computers removed from FCS Admin Console

    Hi, I'm a noob with FCS, so please pardon me if I sound stupid. My requirement is to remove like 750+ computers from the Forefront Client Security Admin Console. We generally follow the following steps to remove a computer: Go to the console, expand

  • Need help for search engines

    First part: When i type document numbers/alphabet inside the text box and click submit, i need to download the document file based on a select query with the doc_no and display results on my right frame. My search_engine.cfm frame is on the left side