Create dialog box...

sometimes i click on garageband in the dock by accident. instead of force quitting or waiting for my song to load and then quitting...is it possible to create a dialog box that asks "do you really want to open gb?"
any help would be appreciated. thanks in advance

Hi!
Try these fm-s:
G_CHECK_PASSWORD
SSFH_PASSWORD_PROMPT
and any password ones in SE37...
Regards
Tamá

Similar Messages

  • Create dialog box for user/passw

    Hello,
    I need to create a dialog box where you ask for the user and password.
    The idea is create a FM that launch the pop up and until user doesn't fill user/passw corerctly he can't continue.
    I am not sure how do the popup dialog box and how do that dialog remains until a good user/passw is introduced.
    Thx in advance

    Hi!
    Try these fm-s:
    G_CHECK_PASSWORD
    SSFH_PASSWORD_PROMPT
    and any password ones in SE37...
    Regards
    Tamá

  • Enable "Prevent this website from creating dialog boxes" for a page

    Firefox has an option to prevent a website from creating a any more dialog boxes. I have a website which creates too many of them, so I want those to be disabled whenever I visit that website.
    So, is it possible to disable dialog boxes permanently for a page, or even something that I can do everytime before visiting that page..

    See http://forums.mozillazine.org/viewtopic.php?f=25&t=2172671

  • How to create dialog box in jsp

    I want to call dialog box from jsp.
    how it possible.
    any one give somecode sample

    Hi,
    you can use 'javascript'
    alert
    confirm
    prompt
    --Karthik                                                                                                                                                                                                   

  • How to create Information Dialog boxes in web Dynpro

    Hi,
    'm new to webdynpro.
    Can any body help me to create a dialog box.
    I would like to know how to create dialog boxes of type information, confirmation and warning
    expects reply
    thanks
    smitha

    to create confirmation dialog I tried the code
         IWDControllerInfo controllerInfo = wdControllerAPI.getViewInfo().getViewController();
        String dialogText = "The email was successfully sent!";
        IWDConfirmationDialog dialog =wdComponentAPI.getWindowManager().createConfirmationWindow( dialogText, controllerInfo.findInEventHandlers("ok"), "ok");
        dialog.addChoice(controllerInfo.findInEventHandlers("newEmail"), "new email");
        dialog.open();
    and I got error like:
    java.lang.NullPointerException
         at com.sap.tc.webdynpro.clientserver.window.ConfirmationDialogDelegate.<init>(ConfirmationDialogDelegate.java:58)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createConfirmationWindow(ClientComponent.java:926)
         at com.enteg.systallocpkg.LoginView.onActionLogin(LoginView.java:157)
         at com.enteg.systallocpkg.wdp.InternalLoginView.wdInvokeEventHandler(InternalLoginView.java:137)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:635)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    I don't know how to solve this
    can any body help me
    Smitha

  • Dialog Box Problem

    i have created dialog box manually using stage and modility. the problem is when the dialog box executes the code following dialog box
    gets executed before closing the dialog box. i want to use it like confirmation box in swing. i want to stop further execution of code till yes/no button of dialog box clicked.please suggest... please help me....

    Ok, so it doesn't look like there is an easy way to do modality in JFX. I had thought since Swing does and JFX uses the same threading model that it should be do-able, but from what I can tell, Swing does some serious magic under the covers to make modal dialogs work.
    Your best bet probably is to use callbacks instead. Make your own dialog window and instead of doing something like this:
    int choice = MyDialog.show("Are you sure you want to do that?");
    if (choice == MyDialog.OK)
        doTheAction();
    } Do something more like:
    MyDialog dialog = new MyDialog("Are you sure you want to do that?");
    dialog.setOnOk(new EventHandler<ActionEvent>()
        public void handle(ActionEvent actionEvent)
            doTheAction();
    });In fairness, that is probably a bit more 'correct' anyway and inline with the JFX style of doing things (although it is more code).
    Here's some very, very rough code for doing something like what you want. You could obviously customise the class to take an enum of the button options available etc. It could all be improved a lot.
    public class TestApp extends Application
        public static void main(String[] args) throws Exception
            launch(args);
        public void start(final Stage stage) throws Exception
            StackPane rootPane = new StackPane();
            FlowPane contentPane = new FlowPane();
            BorderPane dialogContent = new BorderPane();
            dialogContent.setStyle("-fx-background-color: white");
            dialogContent.setCenter(new Label("This is a dialog"));
            final Dialog dialog = new Dialog(dialogContent);
            dialog.setOnOk(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    System.out.println("Ok selected");
            dialog.setOnCancel(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    System.out.println("Cancel selected");
            Button showDialogButton = new Button("Show Dialog");
            showDialogButton.setOnAction(new EventHandler<ActionEvent>()
                public void handle(ActionEvent actionEvent)
                    dialog.show(stage);
            contentPane.getChildren().add(showDialogButton);
            rootPane.getChildren().add(contentPane);
            BorderPane glassPane = new BorderPane();
            glassPane.setStyle("-fx-background-color: rgba(200, 200, 200, 0.5)");
            glassPane.visibleProperty().bind(dialog.showingProperty());
            rootPane.getChildren().add(glassPane);
            Scene scene = new Scene(rootPane, 300, 300);
            stage.setScene(scene);
            stage.show();
        private class Dialog extends Popup
            private BorderPane root;
            private EventHandler<ActionEvent> onOk;
            private EventHandler<ActionEvent> onCancel;
            private Button cancelButton;
            private Dialog(Node content)
                root = new BorderPane();
                root.setPrefWidth(200);
                root.setPrefHeight(200);
                root.setStyle("-fx-background-color: white; -fx-border-width: 1; -fx-border-color: gray");
                root.setTop(buildTitleBar());
                root.setCenter(content);
                root.setBottom(buildButtonBar());
                getContent().add(root);
            public void setOnOk(EventHandler<ActionEvent> onOk)
                this.onOk = onOk;
            public void setOnCancel(EventHandler<ActionEvent> onCancel)
                this.onCancel = onCancel;
            public void setContent(Node content)
                root.setCenter(content);
            private Node buildTitleBar()
                BorderPane pane = new BorderPane();
                pane.setStyle("-fx-background-color: #0000aa; -fx-text-fill: white; -fx-padding: 5");
                pane.setOnMouseDragged(new EventHandler<MouseEvent>()
                    public void handle(MouseEvent event)
                        // not sure why getX and getY don't work
                        // double x = getX() + event.getX();
                        // double y = getY() + event.getY();
                        double x = event.getScreenX();
                        double y = event.getScreenY();
                        setX(x);
                        setY(y);
                Label title = new Label("My Dialog");
                pane.setLeft(title);
                Button closeButton = new Button("X");
                closeButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                pane.setRight(closeButton);
                return pane;
            protected Node buildButtonBar()
                FlowPane pane = new FlowPane(6, 6);
                pane.setAlignment(Pos.CENTER);
                Button okButton = new Button("OK");
                okButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                        if (onOk != null)
                            onOk.handle(actionEvent);
                pane.getChildren().add(okButton);
                Button cancelButton = new Button("Cancel");
                cancelButton.setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        hide();
                        if (onCancel != null)
                            onCancel.handle(actionEvent);
                pane.getChildren().add(cancelButton);
                return pane;
    }

  • Using onclick events in the javascript dialog box

    hi,
    Iam creating dialog box to get some inputs and use it for batch processes. so, i need onclick events on that dialog box.
    for example:
    in my dialog box, i fix a browse button(check box) and connect the choose folder box. but, after i click okay button only i get the choose folder box. i need to see the choose folder dialog box after click the check box.. is it possible???
    regards,
    Subha oviya

    hi bob,
    The following code shows a dialog box.
    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
    var myDialog = app.dialogs.add({name:" Dialog Onclick Test", canCancel:true});
    with(myDialog)
    with(dialogColumns.add())
    with(dialogRows.add())
    with(dialogColumns.add())
    var browse_check = checkboxControls.add({staticLabel:"Browse",checkedState:false});
    if(myDialog.show() == true)
    if(browse_check.checkedState == true)
    var filefolder = Folder.selectDialog("Choose Files Folder");
    This is my code. After run this script a dialog box appear on the screen. we check the browse check box and then click he ok button. after then a "choose folder dialog box" will appear.
    i need to see the "choose folder dialog box" before press the ok button and after check the check box. IS IT POSSIBLE?
    Regards,
    Subha

  • When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified

    When I attempt to send a text from the new iPad, a dialog box appears with the option to either sign in with Apple ID Password or Create New Account. I try signing in using my Apple ID password but IMessage informs me that email address cannot be verified because it is already in use ??? What am I doing wrong?

    settings -> iTunes & App Store
    click on apple ID listed there
    select Sign Out
    sign in with the proper account
    from then on, when the store ask for your password it should be with the correct ID

  • How can I create a Frame & dialog box with a desired shape & look ?

    Hellow !
    Currently I am writing an application that need your help.
    I need a complete code to create a custom JFrame & JDialog.
    Objective:
    1) The frame & Dialog box might not be in a rectangular shape.
    2) Their visible area [ Title bar(With my new icon),outer edge and iconifying,deiconifying & window closing buttons ]
    would be as I wish.
    As an instance, I mean to say it should looks something like Widows Media Player's(XP version) main window.
    My Operating System: Windows XP

    I think (I have never tried it) that the following link provides the kind of api you are looking for :
    http://www.l2fprod.com/
    As far as I know, it's based on the use of a custom look and feel called SkinLF.
    But due to the nature of your question and based on the assumption that people here are not going to do all the work for you, I would strongly advise you to start with the Swing tutorial :
    http://java.sun.com/docs/books/tutorial/uiswing/

  • How can I create a new UDL w/o calling a dialog box, or going through Windows?

    I'm using Labview 6.1 and the Database Connectivity Toolset. I know the conventional ways of creating a UDL, but with the SQL toolkit there was a vi on the Knowledgebase site that created a DSN seamlessly, with no dialog boxes at all. Is there such a thing to create a new UDL?

    Depending on your operating system, things may be slightly different, but on Win 2k, use the administrative tools->Data Sources Administrator to create some sample DSNs that you can look at. You want to create a 'file DSN,' as 'User DSN's and 'System DSN's appear to be stored elsewhere. (Maybe in the registry)
    I'm attaching an example DSN that I have been using as well.
    Best of Luck to you,
    Alex
    Attachments:
    electrode.dsn ‏1 KB

  • How to create a custom file dialog box/vi (win)??

    Hello,
    I'd like to create a custom file dialog box to handle the reading of my tdms files. Basicly I want to extend the existing file select dialog box with a graphical preview of the data in the selected file. I know I can create all the logic for file selection by hand and use a list box to display the filelist, but I would rather prefer to somehow use the existing windows controls. So is it possible to get the windows file selector on the front panel of a vi and react to the user selection? If so, is there any example available on how to do this? Any other options? I'm using labview 8.2
    thanks for your input!
    klaus

    Klaus,
    I wouldn't know that Microsoft provides access to the controls that Explorer and file dialog consist of.
    There might be a different and more powerful solution though. The
    WINDOWS Explorer / file dialog have a plugin API that allows you to
    associate your own application for thumbnail creation with a particular
    file extension. That way, TDMS thumbnails will show in any instance of
    Explorer and
    File Dialog without you having to make your own dialog. Basically, you
    would need to compile the VI that creates the thumbnail into a
    LabVIEW-built DLL and then wrap this DLL with some C++ boilerplate code
    that Microsoft provides. You might want to have a look at the bottom of
    this article to get an idea of how the whole thing works:
    http://msdn.microsoft.com/msdnmag/issues/0600/w2kui2/default.aspx.
    Hope that helps,
    Herbert

  • Display a  message in dialog box  while creating PO

    Hi Experts,
    i want to dispaly a popup message while creating PO(me21n),pop up should be trigger when we try to save two different plants in the item level while creating PO. for this purpose i have used enchancement mm06e005 and FM EXIT_SAPMM06E_016.
    i want to pass this message to standard message in me21n
    transaction and  should get the message in dialog box
    user should not able to save PO until he corrects the plants in item level.
    please help me
    thanks in advance,
    Rama.

    Hi,
    You have to check 1st this user-exit is triggering or not while saving the P.O.
    If it triggers then you can put the code what you want.  The message type should be Error type why becuase then only it won't allow further until it correct.
    Thanks
    Ganesh

  • Creating a new folder starts up import dialog box...

    When I click the plus sign on the folders panel, it takes me to the create folder dialog where I can browse to the location of the new folder.
    Sometimes, after clicking OK, LR then starts up the import dialog box with a heap of images to import which I then need to cancel. I should have checked where the images were from but have not thought to do so before this post.
    Anyway, is there any functionality in LR that should import images when a new folder is created? I think this happens when I don't have a folder selected...not sure.. away from LR at the moment.
    As an aside, I wish you could click the + on the folders panel and LR would create a subfolder at the selected location with the name ready to edit, rather than going to a new dialog and having to browse to the location.

    >"Anyway, is there any functionality in LR that should import images when a new folder is created? I think this happens when I don't have a folder selected...not sure.. away from LR at the moment. "
    I can't duplicate this. Whether I have highlighted an existing LR folder or not, clicking the "+" brings up the create folder dialog, I browse to a location and create a subfolder. That folder then becomes a LR folder. If I do have a current LR folder highlighted, the process (or just right clicking on the folder name and choose "Create Folder") brings up the create folder dialog with the current LR folder as the parent. I can create a new folder and it will become a LR subfolder of the highlighted one.
    >"As an aside, I wish you could click the + on the folders panel and LR would create a subfolder at the selected location with the name ready to edit, rather than going to a new dialog and having to browse to the location."
    Actually, the new dialog that opens for me (as described above) places me in the selected folder - all I do is click the create folder button in that window and a new subfolder is made. I think the reason LR won't just create a new subfolder without going to a new dialog is that the folders panel lists the "LR folders" which are a parallel universe to the "real folders" on your drive. Perhaps the LR engineers thought that by providing you with the browser/creator dialog, they were giving you more control. Who knows.
    - Pierre

  • When creating an event the dialog box appears I set the description & time and press save and close and nothing happens. I have reloaded lightening to no avail

    When I try to create an event I click on the date and put the information in the dialog box and click Save& Close but nothing happens. THe dialog box just stays there. I have made sure I am on the latest version of Thunderbird and Lightening. I have deleted lightening and reinstalled from the website and still the same thing.
    I checked the error log in Thunderbird and this is what it said
    Timestamp: 10/15/14 3:55:48 PM
    Error: 2014-10-15 15:55:48 gloda.datastore ERROR got error in _asyncTrackerListener.handleError(): 19: constraint failed
    Source File: resource:///modules/gloda/log4moz.js
    Line: 693

    I am having this problem.  At first with the new iPhone 5, and then with the iPad 2.  I am not sure why this is happening. 
    My gut feeling is this is an iO6 issue and here's why -
    The problem mainly occurs with apps.  I have about 150 apps, and when I plugged in the phone, iTunes went to sync all of them.  The process would hang up after about 20 - 30 apps were loaded onto the phone. I could tell where about the process hung up because the apps on the phone showed up as "waiting".
    Then on the iPad 2 I plugged in to sync and saw there was a huge "Other" component in my storage.  It required me to restore the iPad 2 from backup.  With this restore the same issues occurred - putting the apps back on the iPad would hang up.  The videos on the iPad also got stuck - maybe after about 10 hours of videos transfered iTunes crashed.
    My solution has been to soft reset the device, restart Windows, and continue the process until it's complete.  This is remarkably inefficient and time-intensive but everything works with patience.
    I have been wondering if others have had these same problems. 

  • Creating a dialog box with OK and Cancel buttons without OADialogPage

    Hi Experts,
    i want to create a dialog box for Delete Confirmation means after clicking on delete it should pop up a small dialog box with OK/Cancel buttons
    and need code for the same to handle the buttons.
    i have created with OADialogPage but its showing in a complete page but i want to show those buttons in a small box.
    Plz help.
    THANKS IN ADVANCE.
    Thanks
    Raja.

    Hi,
    I have not tried using javascript in destination URI as suggested by Mukul.
    I have tried the below code for opening a page as dialog box.
    You can try it for your requirement by creating a dialog page of your own, say XXDialogPage (with OK and Cancel button)
    StringBuffer l_buffer = new StringBuffer();
    l_buffer.append("javascript:mywin = openWindow(top, '");
    String url = "/OA_HTML/OA.jsp?page=/xx/oracle/apps/fnd/dialog/webui/OADialogPG";
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_SAVE );
    String strUrl = popupUrl.createURL(pageContext);
    l_buffer.append(strUrl.toString());
    l_buffer.append("', 'lovWindow', {width:500, height:500},false,'dialog',null);");
    pageContext.putJavaScriptFunction("SomeName",l_buffer.toString());
    In dialog page's controller, you can forward it to the page onc ethe user selects OK or Cancel.
    Pass the selected value back to the main page and further you can use it for deleting.
    Regards.

Maybe you are looking for

  • Image with text

    I have created an image with text (map with town names). The text is 12px Verdana bold. When I export to a gif (only a few colors) and show on a page I want to get the text to show clear when the page is resized. But it does not it becomes more obscu

  • How to Use Decode with Add_months

    Here is my code DECLARE no_of_rents      number(3)      :=0; BEGIN      select (:period_mm/decode(:pay_freq,'M',1,'Q',3,'H',6,12))      into no_of_rents      from dual; for i in 1..no_of_rents loop insert into mk_rnt (MK_NO,RENT_NO,DUE_DATE,DUE_AMT)

  • How can I configure the Java ME Emulator (3.0) on Mac to launch a browser?

    Hi all. I'm a non-developer user of the Java ME Emulator, where I need to test J2ME applications. I run the Java J2ME ME Emulator on my Mac, version 3.0. I usually run the emulator as such: /Applications/Java_ME_SDK_3.0.app/Contents/Resources/bin/emu

  • Profile picture not updating on bbm

    my bbm profile picture only updates on my side but not with other users this has been like this since beginning of January 2013. please can someone assist me

  • Interface tables for credit note in receivables

    Hi all, I need to understand the tables structure of the interface tables and necessary column and their meaning to put credit note automatically. I want to put some necessary information and my gl and credit note create automatically. Thanks