How Can I disable Jdilog Close BOX

Dear Friends,
I have a Jdilog. After entering data I have 2 button i.e OK and Cancle.
If user click on ok button then There is some validation rule.that will be validate.
and on clicking Cancel button simply Jdilog will closed without validation.
But User can also close this Window throw Jdilog Close box at top,
My requirement is in this way that I have to not close window by close box,
The resion is , I am passing Object from calling frame (applet) to Jdilog at modification time.[It means Object is in Ref].
so if any user update invalid data and just close the window then validation rule will not be Fire.
Besides is there any way minimizing the browser the Jdilog(model) will also minimized with browser.
Please help me.
Siddharth Singh([email protected])

My requirement is in this way that I have to not close window by close box, Write your code like this, then it doesn't matter if the user clicks on the Close button or your Ok button:
http://forum.java.sun.com/thread.jspa?forumID=57&threadID=695964

Similar Messages

  • How can I disable a check box in one screen?

    Hi,
    I need to disable a check box in the screen 1106 on the program of the transaction F110. I can do that with a user exit or what I can use to do that?
    Thanks!

    you have two options :
    user exit  , check if there is one for this transction
    i attach program below .
    field exit  :
    Within the CMOD transaction type PRFB in the transaction window.
    PRFB is the ok-code to bring up the field exits.
    You can also use Program RSMODPRF to create field exits.
    hope its help u .
    program for user exut  :
    *& Report  ZUSEREXIT                                                   *
    report zuserexit no standard page heading .
    tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
    tables : tstct.
    data : jtab like tadir occurs 0 with header line.
    data : field1(30).
    data : v_devclass like tadir-devclass.
    parameters : p_tcode like tstc-tcode obligatory.
    select single * from tstc where tcode eq p_tcode.
    if sy-subrc eq 0.
      select single * from tadir where pgmid = 'R3TR'
                                   and object = 'PROG'
                                   and obj_name = tstc-pgmna.
      move : tadir-devclass to v_devclass.
      if sy-subrc ne 0.
        select single * from trdir where name = tstc-pgmna.
        if trdir-subc eq 'F'.
          select single * from tfdir where pname = tstc-pgmna.
          select single * from enlfdir where funcname =
                                              tfdir-funcname.
          select single * from tadir where pgmid = 'R3TR'
                                    and object = 'FUGR'
                                    and obj_name eq enlfdir-area.
          move : tadir-devclass to v_devclass.
        endif.
      endif.
      select * from tadir into table jtab where pgmid = 'R3TR'
                            and object = 'SMOD'
                            and devclass = v_devclass.
      select single * from tstct where sprsl eq sy-langu and
                                       tcode eq p_tcode.
      format color col_positive intensified off.
      write:/(19) 'Transaction Code - ',
           20(20) p_tcode,
           45(50) tstct-ttext.
      skip.
      if not jtab[] is initial.
        write:/(95) sy-uline.
        format color col_heading intensified on.
        write:/1 sy-vline,
               2 'Exit Name',
              21 sy-vline ,
              22 'Description',
              95 sy-vline.
        write:/(95) sy-uline.
        loop at jtab.
          select single * from modsapt where sprsl = sy-langu and
                                             name = jtab-obj_name.
          format color col_normal intensified off.
          write:/1 sy-vline,
                 2 jtab-obj_name hotspot on,
                21 sy-vline ,
                22 modsapt-modtext,
                95 sy-vline.
        endloop.
        write:/(95) sy-uline.
        describe table jtab.
        skip.
        format color col_total intensified on.
        write:/ 'No of Exits:' , sy-tfill.
      else.
        format color col_negative intensified on.
        write:/(95) 'No User Exit exists'.
      endif.
    else.
      format color col_negative intensified on.
      write:/(95) 'Transaction Code Does Not Exist'.
    endif.
    at line-selection.
      get cursor field field1.
      check field1(4) eq 'JTAB'.
      set parameter id 'MON' field sy-lisel+1(10).
      call transaction 'SMOD' and skip first   screen.

  • How can I disable e-mail and text messages when I'm close to or over my data quota ?

    How can I disable e-mail and text messages when I'm close to or over my data quota ?
    Is this possible? I don't see any options?
    All I see is this:
      Receive confirmations of many account transactions via Email and/or free Text Alerts delivered right to your cell phone. You can receive these confirmations for  
       transactions done online, over the phone or from your handset. Account management Text Alerts do not count against any Messaging allowances.
          Your bill is ready for review.
         Payment Confirmations: Your payment has been  received    Your credit/adjustment     has been applied.1
         Account Activity Confirmations     Plan changes     Feature changes1

    What phone?
    You would need to disable data on the phone itself.  You wouldn't do it online on your account.
    Note also that text messages do not count toward your data allowance.

  • How can I disable Minimize, Restore & Close buttons of MDI window?

    I'm using Forms6i on Windows XP
    How can I disable Minimize, Restore & Close buttons of MDI window?
    An urgent reply would be apprecaited.
    MURUGESAN.T

    in windows property
    list of this
    close allowed
    move "
    resize "
    maximize "
    minimize "
    all to set "no"

  • How can I disable the HP Updates Agent from running?

    HP pavilion D4100Y
    Windows XP  SP2 or 3 (not sure)
    No error message
    No recent changes
    Problem: The program "Updates from HP Agent" runs frequently and on no particular schedule, certainly not one I chose.  It takes over my computer for hours and uses most of the CPU, fluctuating from 13% to 87% to 1 etc.3% to 6%, etc. The computer hangs and I cannot use it for anything else. On the HP Updates screen, I set the updates to "NEVER" but that didn't work.  The programs still run. On the Windows Task Manager window the program is called "Updates from HP Agent".
    I cannot find anything about this problem in the support database.
    How can I disable the HP Updates Agent from running?
    This question was solved.
    View Solution.

    Select your start button and in the search box type "msconfig" then select msconfig.exe under programs.
    Look under the "Services" and "Boot" tabs. Uncheck HP update agent, select "Apply" and close.
    I work for HP

  • How can I disable Firefox from automatically opening on system startup on my Mac - unchecking the "open at login" does not work?

    We have Firefox 10.o on our Macbook Pro OS X 10.5.8. I prefer using Firefox as my browser but my husband prefers Safari for now because of a long history of bookmarks and saved information he doesn't have time to re-do. He is tired of Firefox automatically opening when we start up the laptop, and even when we uncheck the "open at login" it still opens at login every time. He is about to uninstall it because of this. How can we disable? It does NOT show up in our account on the Mac OS as an application that starts at login, so we can't disable it there.

    For those of you running Windows, I found this on another site. (Unfortunately, not before getting totally disgusted and switching to chrome.)
    1. click start (or the windows flag button at the bottom left) 2. in the "search programs and files" or the RUN dialog box, enter "msconfig.exe" or "msconfig". 3. That should open the system configuration program. 4. click the "Startup" tab at the top of the opened program. 5. Under the "startup item" column, look for Mozilla firefox. 6. uncheck that one. 7. Click OK or apply. 8. click "exit without restart". 9. you're good to go.

  • How can I disable the Voicemail button on an iPhone 4

    How can I disable the Voicemail button on an iPhone 4 or
    if that is not possible can i programme it to dial my own phone rather than my carrier's Voicemail box?

    No, it's not possible to disable that button and no, it's not possible to reprogram it to anything else.

  • How can I disable iCloud on my iMac and my iPod touch 5th gen?

    My ipod touch 5th gen now syncs through icloud. How can I disable icloud from my ipod and my imac and go back to syncing through iTunes.  Is it possible to do this without losing the data in contacts and ical?  Any ideas would be much appreciated!

    With the iPod connected to your computer go to the Summary pane for the iPod in iTunes and uncheck the box that says: Sync with this iPod over Wi-Fi.
    Also in the Summary pane check the box that says backup to the computer.

  • How can I disable making live shape rectangle in the first place but normal one instead in Illustrator CC?

    How can I disable making live shape rectangle in the first place but normal one instead in Illustrator CC? When I create rectangle I can't transform it by dragging and it's only the problem with rectangle, not with circle, star etc. I try show/hide edges/bounding box reset preferences and reinstall whole illustrator CC and it's the same. I can only make this right by expand this rectangle, which is shape as is turn out to rectangle by clicking object>shape>expand rectangle. But this is so frustrating. Help!:) oh, and I use OSX. My friend has the same specs and it's works. I mean she can use live shape corner transformations and changing size by draging:(

    I’ve created my own plugin (available for free for personal and commercial use) which imitates behavior of the ‘old’ Rectangle Tool. It doesn’t replace the Live Rectangle – it works completely independent!
    My Plain Rectangle Tool correctly snaps to grids/objects/points and correctly aligns to grid/points on resize. Of course it supports the SHIFT and ALT/OPTION keys, Snap to Grid and Smart Guides options. In other words it works almost 100% the same as the Rectangle Tool we know from CC (17.1), CS6 and earlier.
    The installation package (zxp) adds ‘Plain Rectangle Tool’ icon into the Ai panel (of curse you can assign your custom keyboard shortcut to it as well)
    Note: The Plain Rectangle can be easily converted into the Live one using Object > Shape > Convert to Rectangle
    Grab your copy at http://63mutants.com/subc/products/PlainRectangleTool_m01/PlainRectangleTool_m01.php Feel free to share with your friends. It’s completely free.
    I’ve also created a separate discussion https://forums.adobe.com/thread/1587587 for the Plain Rectangle Tool. If you have any comments or request please post it there. Any feedback would be greatly appreciated!
    Thanks,
    Pawel Kuc

  • How can I disable (not hide) the Boomarks Toolbar?

    I have installed the "Multirow Bookmarks Toolbar Plus 1.2" extension. In the Firefox customize toolbars box I dragged the Firefox bookmarks toolbar to the right of my home button instead of where it normally is. I then Right-clicked on the toolbar and unticked "Bookmarks Toolbar".
    However whenever I restart Firefox the toolbar re-appears. How can I disable it from appearing?

    My extensions don't work on Firefox 12 so that doesn't help me.
    I should also point out that if I format my hard drive and re-install Windows and Firefox 5 then I don't get this problem but that's a lot of hassle.
    I only get this problem when I install a new version of Firefox when I already have a previous version installed.
    So before installing the new version I uninstalled Firefox and selected the option to delete my settings. I then checked my profile folder to make sure nothing was there. I then reinstalled Firefox again and all the same extensions with the same settings as before and I still get this problem.
    So it's quite disturbing that I deleted all traces of Firefox yet I get this problem again which makes me think that not everything was deleted.

  • How can I disable the Photos app from automatically running when I plug in my iPhone?

    How can I disable the Photos app from automatically running when I plug in my iPhone?
    I have no intention of ever using Photos, in fact, having to abandon Aperture takes me one step close to moving back to Windows, but I digress.
    I just want to NOT have to kill the Photos app every time I plug in my phone.
    Thanks.

    I am still seeing the option Image Capture, like shown in the screenshot that Rysz posted.   But it is another example of the hide-and-seek Apple likes to play with us.
    The option has to be set for each device individually. With the device connected to USB, you have to click the tiny disclosure triangle in the lower left corner of the sidebar to reveal the option.
    I was perfectly happy with the program I paid for (Aperture), and now to maintain the functionality I have to pay for another application (LightRoom) to get the functionality that I paid for in Aperture.
    Aperture 3.6 is working well with Yosemite. I will use it, as long as I have a Mac, that will run Yosemite or a compatible system.
    Have you looked at Capture One?  It looks much more similar to Aperture than Lightroom.

  • How can i disable ipv6 in OL7?

    Hi everybody,
    how can i disable ipv6 on my OL7 box?
    In /etc/sysctl.d i have test it with the file: ipv6.conf:
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.<interface>.disable_ipv6 = 1
    But this doesnt work.
    Does anybody know how can i disable IPv6 in Oracle Linux 7?

    What I would recommend is not to set implicit or redundant parameters:
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1
    There is no need to disable the "default" interface, since it is already included in the "all" statement.
    I do not know, but there could be a possibility that such statements disable the network card in question, but in turn enable every other. In such case, your 2nd statement invalidates the first. Perhaps that was was part of the problem when using your other configuration.

  • How can I disable software update in the settings of our company iPad?

    Hi, Just need your help guys. How can I disable or hide the software update settings in our company's iPad? Our company don't want to update all the iPad fixed asset to our employee. Thanks.

    There are two files that ought to change when you set your preference:
    "/Users/yourname/Library/Preferences/com.apple.systempreferences.plist"
    "/Users/yourname/Library/Preferences/com.apple.scheduler.plist"
    Try moving both of them out of the prefs folder. Then launch System Preferences and reset your preference to whatever you want (or uncheck the box altogether). See if that works. If it it does you will have to also reset your other System Prefs, since all will be returned to the default. If it doesn't do the trick, you can put the originals back and thus avoid the resetting.
    Francine
    Francine
    Schwieder

  • My ipad was stolen last night and how can i disable the device?

    my Ipad was stolen last night and how can i disable the device?

    Report to police along with serial number. Change all your passwords.
    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to recover a lost or stolen iPad
    http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    Apple Product Lost or Stolen
    http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
    If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
    How to Find Your iPad Serial Number
    http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
     Cheers, Tom

  • Re-opening most recent files/web sites--how can i disable this?

    when I close a window and then reopen it, or when i log out and then log back in, the most recent thing I was looking at from before immediately pops open.  That is not necessarily the way I would like it to work--didn't do that with Snow L.  How can I disable this?

    In System Preferences > General > uncheck Restore windows when quitting and re-opening apps.
    Note that this preference affects all apps.
    Regards,
    Captfred

Maybe you are looking for

  • Adobe Reader could not open 'A9R7D1F.tmp'

    Greetings~ I have seen others with this issue, but none of their solutions have been able to fix my problem. When attempting to open a PDF document from a web site, I receive the following error: "Adobe Reader could not open 'A9R7D1F.tmp' because it

  • Files not seen by Windows 7

    We are running a windows SBS 2011 Standard server.  Sometimes when we scan a document from our Xerox 5755 scanner to a folder on the server we can't see it on the first Win 7 machine to open the file. You can go to another Win 7 machine and see the f

  • Export MenuBuilder file to .exe format

    Hello, I am fairly new to Captivate and I tried MenuBuilder for the first time this week. I have 2 elements in the menu + 2 clickable zones over logos in the menu page. 2 links go to Captivate project A and 2 links go to Captivate project B. I am abl

  • Goods Issue output condition for extra prints

    Hi All How can i increase the standard number of GI slips for the output document. The output is a SAP standard form (Y002) I only need 2 output copies for a particular movement type (351) How can i link 2 output copies for movement type 351 only Reg

  • No More Lower Case, What Did I do Wrong

    I'm new in after effects, I tried searching in the forums and on the web but didn't find anything soo... everything was working fine but now when i add a text layer, whether i use the text tool icon or right click in the composition area and add text