How to create a button that close a window/popup.

Hi, I must create in a view a button that close the window/popup that include the view, the button must be like the OK button of the popup or the X button at the top-right side . It's possible?

Hi Avalor.
You can create a custom pop up window. Just create a view that contains all
elements that you want to display. Add the button that closes the view. Create a
new window that only contains this new view. Use the mentioned method to create
a new window as pop up. You just have to pass the name of the window you have
created. Store the reference to the new window in the component controller
(mr_window).
From the new window->view you have access to the component controller.
In the action handler of the button you can use something like this:
wd_comop_controler->mr_window->close( ).
Cheers,
Sascha

Similar Messages

  • How to create a button that Copies subform data and paste it to a new page?

    Hi , I'm want to create a button that when clicked copys all the data from the feilds of a subform off the previous page and paste it into current page.
    I have used Steve's "Simple table.pdf example" to add a subform called DecorationDetail that has a button that adds an instance when clicked.
    Contained in the decorationdetail subform are feilds named Quantity, Description,UnitPrice etc. and a delete instance button.
    So when the first page is filled out, and a second page with blank duplicate feilds is added by a add page button. I want to be able to click a button
    positioned at the end of the row of feilds, and it then copies the same subform data from the previous coresponding page and pastes it into the current page subform feilds.
    Hope this make sense?. A step by step guide would be greatly appreciated!!!.

    Hi,
    Does this article provide you with some clues? http://www.perfectwebtutorials.com/2011/how-to-create-simple-contact-form-in-flash/
    Thanks,
    Preran

  • How to create text buttons that link to video?

    I've finally gotten around to trying DVD SP, and even though I read the whole manual, it's not at all clear if, or how, you can create text buttons that link to the video you want to play, without displaying a clip of that video in the button itself.
    I have no problem creating a text button, but I can't change the font, and editing is counter-intuitive, unlike iDVD. I'd use iDVD, but it doesn't accept .m2v files, and it seems to think that my 6 videos of about 43 minutes each are too large for a DVD+DL disc, so it won't let me burn it or save it as a disc image.
    Does anyone have a way out of this conundrum, or am I SOL?
    Mulder

    It really isn't that hard!
    As Drew said, go into your menu and click and drag to create a button rectangle. With the button highlighted, look in the property inspector at the bottom and type in the text that you want to use. Ensure that you 'include in button highlight' and then set the colour choice for selected and activated.
    What you get is a simple line of text which illuminates when you roll over it, and changes colour when you click on it.
    Once that is done, click on the button area again and set the target to go to the piece of video that you want to have play back.
    You should also set the menu call and end jump on that track to make sure your viewer can get back to the menu.
    Once that is done the menu will show as a simple piece of text (more buttons means more bits of text, and the first button will be highlighted by default) and no video will play until the button is activated.
    DVDSP is definitely a steeper learning curve than iDVD but for very good reasons. You get far greater control and access to far more advanced features in DVDSP. This means that some things will seem harder, whereas in fact they are just different and the process for achieving the result you want is different. Much of what you want to know is in the manual and also in the tutorials which came with the app. Failing that there are several good online spaces where you can find a lot more information... not least of which is right here, of course!

  • Create a Button that Closes the Presentation

    All, I want a button on the last slide of my presentation that, when clicked, will close the browser window in which the presentation is playing. Will this involve Javascript? I tried some, but I probably screwed it up because it won't work. Some step-by-step guidance would be much appreciated, should someone have a few moments to guide me. Trying to make something more obvious than the X button on the playbar. Thanks so much!

    Hi there
    As explained in the Frequently Encountered Issues topic, closing the window is "iffy" and depends on different factors.
    The simplest approach is to avoid JavaScript altogether. Just configure the project to close when it completes. Then if you want a button that closes the project, configure it to jump to the last slide. Time that last slide super short. The net result will be that the user clicks the button, it jumps to the last slide for a split second, then if the project is capable of closing, it closes!
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • I need instructions on how to create a button that will email a pdf form to someone else on a websit

    I NEED ASSISTANCE CREATING A BUTTON THAT WILL EMAIL A PDF FORM FROM A WEBSITE TO WHOEVER THE VIEWER WANTS TO

    Just a bit more info. E-mail can be used, but has potential problems -- often related to the client machine that you have no control over. Use the data submissions (either FDF or XML) rather than the full PDF so you do not have to deal with Reader Rights and the related license issues. The FDF and XML data files are easily imported into the original form so that you see what the client sees. With those aspects in mind, just go ahead and try one. Be aware that you can add form fields using the form tools in the Advanced Editing tools, OR use the forms menu that will take you to Designer. You might want to try both to see the pros and cons. Be sure to keep such a test simple so you are not wasting time on your final form just for testing. I typically create a 1 page form that has all of the possible fields for such a test.

  • How to create a button to get File Open popup window and select a file

    Hi,
    I have an applet that contains Browse button. When user clicks on that, a File Open popup window should be displayed to enable user to select the input file. This file path should be given back as parameter.
    How to do this? I have tried using LoadFileData but not able to get the desired result.
    Any pointers would be helpful.
    Thanks,
    Lalitha Dandibotla

    Do you need only the path or also the file back into Siebel?
    If you need both, the have a look at any attachment applet, that will give you a good start.
    Are you using Siebel in High Interactivity (HI) Mode or Standard Interactivity (SI) Mode?
    If you are in SI Mode have a look at the html type
    <input type="file">
    http://www.w3.org/TR/html401/interact/forms.html#h-17.4
    Axel

  • How to create a button that performs 2 tasks

    I currently have 2 different buttons. One is to print out the form. The other is to submit the form using the HTTP button then we have a php script to take the information. I was wondering if there was a way to combine these two buttons into one?

    How do I submit the pdf to 4 different emails/people depending on which drop down location is selected (1001, 1002, 1003, 1004) for example. 
    I have tried using the following:
                if firstsite.text=1001
                   elseif secondbutton.text=1002
                   elseif thisbutton.text=1003
                   elseif thisotherbutton.text=1004
                   elseif anotherbutton.text=1
                   endif
    Thanks for any help!

  • I need to create a button that links to another swf file...

    i'm creating my first website, and, for each menu item, i am
    creating a new flash document... is this the correct way to create
    a multi-page website?
    plus: how to create a button that links to a jpg, thanks!
    jane

    Creating separate swf's these days as far as I know is
    considered to be a better practice than using the "scenes" that are
    in Flash. The reason is you can load various sections of your
    entire Flash entity rather than the user downloading everything at
    once.
    But, it also depends on the complexity of where your menu
    items are leading. If they are simple enough, then there may be no
    need to create new documents.
    To create a button that links to a jpeg, try this.
    Whatever graphic you're using for the button, select it and
    hit F8 to convert it to a movie clip. Once it's in your library,
    click on your new movie clip on the stage and give it an instance
    name in the properties window.
    Click the first frame in your timeline (preferably on a layer
    named "actions") and put this example in for the actionscript:
    //buttonName is the instance name you gave it
    //.onPress tells Flash when buttonName is pressed then do
    what's
    //inside the brackets of the function
    buttonName.onPress = function (){
    //getURL is the Flash function that will load your
    picture.jpg
    //_blank is the target. e.g. _blank, _self etc.
    getURL("picture.jpg", "_blank");
    }

  • In DPS/Indesign for iPad - How can i create a button that once tapped, will pre-populate an email?

    In DPS/Indesign for iPad - How can i create a button that once tapped, will pre-populate an email? like when you tap a recipe in Marth Stewart Every Day Food for example....

    http://forums.adobe.com/message/4190932

  • Acrobat 9.0 Std - How do I create a button that will show / hide the menu bar?

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

    In Adobe Acrobat 8, I was able to create a button that would show the menu bar using Link Properties. In version 9.0, the option I used is missing.
    The other view options are there under "Execute a menu item": View > Toolbars > File, Edit, etc.
    Any help would be greatly appreciated - thanks!

  • I need an AS2 button that closes out a pop-up window...

    So, I’ve constructed a portfolio site with ActionScript 2.0, but I would like the pop-up window that displays the portfolio image to have its own ‘X’ button that closes the swf movie from the browser.  I’m assuming that the code begins something like this:
    on(release){
    //actionscript 2.0 code that closes the browser window.
    Any suggestions on how this will work across platforms and browsers?
    Best,
    R.

    Hi kglad,
    My main flash as2 file has a stage size of 1200 width x720 height.  I’ve looked online through various methods on creating pop-up browsers that will display a portfolio image when a button on the main.swf is clicked.  Having no luck in finding what I needed (most tutorials just give getURL examples where the image is displayed in a separate tab), it finally dawned on me to create an overlaying movie, of the same size as the document size, on the top layer of the primary flash stage.  Setting the movie symbol as ‘invisible’ keeps the movie symbol inactive and invisible until called by an action.  The button on the main.swf that calls the movie has the following as2 script attached to it:
    on(release){
                   loadMovie("images/aauComp.swf", _root.movie2);
    However, the aauComp.swf file is where the exit button is located.  I need to implement an on(release){} method onto the exit button in aauComp.swf  that will close the movie out in the main.swf file.  Here’s the double wammy, though: the exit button on the called movie file, aauComp.swf, does not recognize any gotoAndStop(); or on(release){} functions relating to itself when it is loaded. For instance, since I could not find any functions that would close the movie out and return me to the main.swf interface, I wrote the following command on the ‘exit’ button in aauComp.swf:
    on(release){
                   _root.gotoAndStop("blank_frame");
    Where “blank_frame” is within a scene of aauComp.swf that is completely empty – which should, in theory, allow for interaction with the main.swf below the loaded movie since there is nothing on that layer of the loaded aauComp.swf movie.  Make sense?  The ‘exit’ button works fine when aauComp.swf is tested and published by itself, but when it is called into the main.swf with the loadMovie(); function, the 'exit' button will not work and, so, it will not forward to the “blank_frame”.
    Any suggestions?  Let me know if you need anything clarified.
    Thanks.

  • Is there a way to create a button that links to a website?

    Is there a way to create a button that links to a website?
    I was reading up that it's possible to this with menus, and tracks but can you do it with a button and how?
    I am hoping to create a button that people viewing my discs on a computer can click on the link and their web browser will pop up and take them to a website.
    Any help is appreciated.
    Thanks.
    -Fraky

    dvd@ccess questions are being asked once a week on this forum, so I'll repeat why it's useless:
    - Mac users have to enable the feature in the preferences of DVD Player in order to for the links to work.
    - PC users have to install a small application on their PC, and they have to reboot the PC in order for the links to work.
    - On top of this, it's still unreliable, and may not work on some computers.
    It's a dog: Don't use it.

  • Can I create a button that copy's a certain test to my clipboard?

    Can I create a button that copy's a certain test to my clipboard?
    For example, when I click the button on the website, then the next time to paste somewhere, a specific text appears?
    If this is possible, could someone please explain how? =(

    Hi Travis,
    There is no native feature in Muse to achieve this. However, you can use custom code to achieve this. Please refer to the following link for the sample code : How to copy to the clipboard in JavaScript? - Stack Overflow
    Regards,
    Aish

  • How to create a button Widget

    Hi,
    Can any one tell me how to create a button widget,
    I've created one & it can be seen in my plugin, but it doesn't work,
    in .fr file i created the widget as,
    ButtonWidget
               kEXTCODGoButtonWidgetID,      
               kSysButtonPMRsrcId,
                kBindNone,                        // Binding ,kBindRight | kBindBottom,
                Frame(50,70,140,90)                    // Frame (l,t,r,b)
                kTrue, kTrue,                     // Visible, Enabled
                "Run", // PNGIconAttributes, new for InDesign 3.0              
    in DialogObserver.cpp
    for AutoAttach & AutoDetach,,
    AttachToWidget(kEXTCODGoButtonWidgetID, IID_ITRISTATECONTROLDATA, panelControlData)
    DetachFromWidget(kEXTCODGoButtonWidgetID, IID_ITRISTATECONTROLDATA, panelControlData);
    in ::update
    WidgetID theSelectedWidget = controlView->GetWidgetID();
    if (theChange == kTrueStateMessage)
    //if (theSelectedWidget == kEXTCODGoButtonWidgetID
    switch(theSelectedWidget.Get())
             case kEXTCODGoButtonWidgetID:
      this->ViewOutput();
      break;
    please tell me what may be the wrong...

    Hi,
    Do you have any idea about how to get the class name (ex: kSplineItemBoss) from a ClassID.
    I know how to get the class id;
                                                      ClassID unknownClassID = ::GetClass(unknown);
    I found it from an example..
    now i want to know which class name related to that ClassID..
    Thanks.

  • Creating rollover buttons that also show a gallery image

    Hi all.
    I'm a newbie to Dreamweaver, so please bear with me! 
    Here's what I'm trying to do: I'm creating a portfolio gallery.  I want to have a thumbnail button that will rollover and show its "down" image and also the corresponding portfolio image in the gallery window.  I know this can be done, as I've seen it numerous times.  So far, I've only found tutorials on how to create the button and not both button and gallery image.
    Any suggestions?  And please - no code!  I can't seem to successfully implement code, as I'm html-retarded!  So if you can offer a tutorial link or even how to create this using the Designer interface in Dreamweaver, I'd TOTALLY appreciate it.
    Thanks,
    B.

    This isn't something you can do with HTML alone.  You need a slideshow or gallery widget. 
    I recommend jQuery Fancybox
    http://fancybox.net/
    However a Google search will reveal tons of other ones.
    As for a mouseover effect on thumbnails, you can do that easily with CSS.
    Below is an example of Fancybox with CSS opacity applied to thumbnails.
    http://alt-web.com/GALLERY/Photo_Gallery2.html
    Nancy O.

Maybe you are looking for

  • Itunes continuous play somehow disabled

    I just set up a new pc, downloaded and installed iTunes, everything is working great... Except for some reason iTunes will not continuously play songs for some reason. Strange, I never really thought about it, but previously I would sort by Artist or

  • How to connect my G3 to a wireless network-

    what do i need to connect my old G3 MAC to i wireless internet connection – my lokal AppleShop don't sell Airport to this old computer – do anybody know how i get wireless?

  • Issue with FOR ALL ENTRIES

    Hi All, I have used FOR ALL ENTRIES statement in while selecting data based on some other internal table (to avoid select within loop). While using FOR ALL ENTRIES, the target table (internal table in which data is getting stored) is getting affected

  • PAPER JAMMED DURING MANUAL DUPLEX PRINTING

    I had a paper jam, now, i only needed to print particular pages (booklet format here) but MS word crashes whenever i attempt to do so.  i only need to print the last half of the booklet, please help. Thanks!

  • Password bypass

    I was having trouble with corrupted explorer programme so I decided to use reinstall OSX CD, after copying my original system data onto DVD. Touble is when I rebooted system and it asked for my password I realised I couldn't remember it since it had