How can I put the close button in the mainframe of the dialog?

Hi all,
I am creating a new dialog and I would like to konw...
How can I put the close button in the mainframe of the dialog?
Thanks in advance.
Best regards,
Juanma.

Juanma,
Usually, a dialog would have an OK and a Cancel button, both can be served as the close button, but if user clicks the ok button (DefaultButtonWidget) to close the dialog, your dialog controller's (if it is based on CDialogController) ApplyDialogFields will get called so you can react to the OK action, otherwise, if user clicks the cancel button (CancelButtonWidget), nothing will happen. The dialog simply is dismissed.
See BasicDialog SDK sample to see how to add DefaultButtonWidget and CancelButtonWidget to a dialog.
Thanks!
lee

Similar Messages

  • How can i put a submit button in a survey and it send to my email

    how can i put a submit button in a survey and it send to my email?

    Hi williamm89908146,
    You need to open the form in which you want to put the submit button,
    then you have to choose 'Add new field' under Tasks pane on the right Hand side of the window.
    Choose 'Ok' Button
    Place the button at desired Location
    Change the field name to 'Submit'
    Click on 'All Properties' (Button Properties window Will open up)
    Click on Actions Tab and then on 'Select Action:'
    Choose 'Open a web Link' from the Drop Down Menu and then Click 'Add'
    another window will appear in which you have to type this:    mailto:[your email address], eg: mailto:[email protected] later click close
    Click Close Form editing on the right hand side of the window
    Clicking on the Button would open up your default email client and your address would appear in 'To' field.
    Please feel free if you face any challenges in following through these steps.
    Regards,
    Rahul

  • I have a 2008 macbook and i lost the start up disk and forgot the password. how can i put it back to factory mode and change the password

    i have a 2008 macbook and i lost the start up disk and forgot the password. how can i put it back to factory mode and change the password

    Check out this article http://gigaom.com/apple/reset-os-x-password-without-an-os-x-cd/

  • I'd like to know how can u put letters on caps without holding all times the shift key?

    I'd like to know how can u put letters on caps without holding all times the shift key?

    Settings>General>Keyboard>Enable Caps Lock>On. Then just tap the shift key quickly.

  • How can I select a radio button in a table regarding the data in the cells?

    Hi everyone
    This is the issue: I need to select the RadioButton which is in a table with data related to transfers in the cells next to it, so I need to select the correct radio regarding the data next to it.
    This is the whole process: First I go to the Add Recurring Transfer section and select the parameters of the transfer (Accounts, date, amount, months etc), then with VB code I capture those parameters from the page and store them into Global variables for further usage on my E-tester script.
    Right after that I need to select the radiobutton regarding the data of the transfer that I already created in order to delete it or modify it (Please see Attachment selectradio1.jpg)
    So How can I move along the table and compare each cell with the variables that I created with the transfer information, so when I finish comparing a row cell by cell and if all the comparison match well in that row, I could select the radiobutton of the row.
    Note: Second Attachment selectradio2.jpg shows the source code of the table...If you need more info please let me know
    Could you please help me with this problem?? I'm Kind of frustrated with this issue jejeje

    Here is an example. I uploaded mock html so that you can actually try this code. I think this does exactly what you are asking.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    Dim rButton As HTMLInputElement
    ' ******** This would be your global variable. I put this so that values are seperated by a semicolin you can use what ever format works for you.
    strValue = "03/22/2008;03/22/2008;*************1977;*************1977;$25.25;Jan, Jun, Jul, Dec"
    ' Strip out the ; for inner text comparison
    strValue = Replace(strValue, ";", "")
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    ' then clicks the radio button. Findelements allows you to specify a root element
    ' once the correct root row is found, FindElemets can get the correct radio button
    For Each tblRow In tbl.rows
      If tblRow.innerText = strValue Then
        Set rButton = RSWApp.om.FindElement("account", "INPUT", "NAME", , , tblRow)
         rButton.click
       End If
    Next
    End Sub
    I also uploaded the script I created. You should be able to run it and see how it works.
    This should get you going.

  • Using Firefox 26. How do I get a close button for each tab at the top of the screen?

    Some time ago, I had a close tab button for each tab on the top of the screen. I want that back. I have no additional add ons and the close tab is set to 1. Changing it to 2 does nothing.

    Do you have installed this extension?
    *Firefox/Tools > Add-ons > Extensions
    If you do not have the extension and also have no need for the feature that it provides then you can ignore this.
    If it works in Safe Mode and in normal mode with all extensions (Firefox/Tools > Add-ons > Extensions) disabled then try to find which extension is causing it by enabling one extension at a time until the problem reappears.
    Close and restart Firefox after each change via "Firefox > Exit" (Windows: Firefox/File > Exit; Mac: Firefox > Quit Firefox; Linux: Firefox/File > Quit)
    You can use one of these to start Firefox in <u>Safe Mode</u>:
    *On Windows, hold down the Shift key while starting Firefox with a double-click on the Firefox desktop shortcut
    *On Mac, hold down the Options key while starting Firefox
    *Help > Restart with Add-ons Disabled
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How can I put seperate score files onto one page in the Layout?

    I have written some exercises in different keys. They are small files. Each of them are saved individually and cover only part of a page each but I want to lay them out on one single page. I can't work out how. Each file is in a different key. As a short term solution I tried to combine them into one file and then could not work out how to change the key signature. When I insert the #'s and b's the following notes don't move to the right. So that does not work the way I do it. Does someone have a solution, please?
    Cheers,
    ansu

    Thank You, musicspirit, for your support. What you suggested I had done already, but it did not work always only sometimes. ( Like a disfunctional light switch). Maybe I missed some setting or whatever or tried too many things...or..Anyway quite a few things didn't work, I spare you the details. Meanwhile I did disk maintenance and tossed out the files and started again from scratch ( which I wanted to avoid) and everything worked out fine so far. No problems with clef change, etc.
    But to make it look as if I had three songs or three separate exercises on one page I need to create a bigger space between the 3rd and 4th staves and the 6th and 7th staves. I can do this only globally, which means I manage only to increase the space between all the staves. (I hope I am not asking the wrong thing again. Manuals are not always easy for the novice.)

  • The "about:tabs" message always appears. The close button appears inactive so checking the "don't show this again" option doesn't work.

    I am running Firefox 3.6.13 under windows/xp. All of a sudden, when opening a new tab the "about:tabs" message comes up all the time. I checked the box labeled "do not show this message again" but the "close" box seems to be inactive. Pressing it has no affect so apparently the option to suppress the message is not set. The new tab must be closed manually.

    I lost several App Icons after install of 3.0 upgrade. Facebook, Tweetie, Birdhouse and a few others are no longer on the home screen, but they do sync through iTunes and I can access them if I move the home screen to the right (to show the spotlight search screen) and I can open them, the icons just won't show up. It is very inconvenient, hope Apple creates a fix for this soon.

  • How can I put a .pdf (or table) in iWeb that one sees on the web site on a web page without downloading?

    How can I put a pdf (not downloadable, but viewed on the website) or a table in iWeb?

    If it's a one page PDF file just drag it onto the webpage and resize to fit. If it's a multi page PDF file you can add it as in this demo page: Scrolling Text Box
    OT

  • HT1373 So i bought music on a different computer but oAn the same itunes account and on the same ipod and when i get on my original computer and i sync my ipod my purchases that were on the other computer didnt show up. How can i put them on my computer/i

    So i bought music on a different computer but oAn the same itunes account and on the same ipod and when i get on my original computer and i sync my ipod my purchases that were on the other computer didnt show up. How can i put them on my computer/ipod

    Download them to the computer to which the iPod is synced, re-sync.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list, or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

  • How can I put everything back in my iPhone to the new iTunes?

    My computer was broken down and I bought a new one.
    I download an new iTunes, of course nothing inside!
    I just want to know how can I put back all my things in iPhone to the new iTunes!
    That's means I have all the things( songs, apps...etc ) in my iPhone and I just want to copy those things fully to the new iTunes, without losing anything!
    Looking for help and thank you so much!

    You should be able to:
    Backup the device to the new installation
    Transfer your purchases into a newly authorized library
    Recover any other media using third party tools as suggested in this post
    Restore the device from the backup
    This process should switch the association of the device to the new library, preserving the data and settings in your apps.
    May also be prudent to attempt a backup to iCloud directly from the device before you start... Settings > iCloud > Storage & Backup > iCloud Backup > On. It won't save any media but it would preserve the general account settings and documents in case anything goes wrong while you are trying to extract your other data.
    When you get it all fixed, make a backup!
    tt2

  • How can I put a time delay between specific events in a while loop?

    How can I put a time delay between specific events within the same while loop? I'm already using the "wait" command to control the overall loop iteration speed. But I want to time the individual events as well.

    Hi Jesse,
    You can use a flat sequence. In each box you can put your individual events and attached wait.
    Don't forget to reduce your total loop time of the time you added in the individual sequences.
    Doc-Doc
    Doc-Doc
    http://www.machinevision.ch
    http://visionindustrielle.ch
    Please take time to rate this answer

  • How can you put flash player in kindle fire hd?

    how can you put flash player in kindle fire hd?

    The latest Kindle Fire HD is not officially supported by Flash  Player.  Please see this page for a list of all certified devices:
    Flash Player Certified Devices
    That said, some users have been able to get Flash Player working on the Kindle Fire by using Dolphin, a third party browser.
    How to install Adobe Flash on your Kindle Fire HD   
    Get Flash on Kindle Fire HD (video)

  • How can I put an mp4 video on IPad?

    How can I put an mp4 video on IPad?

    Pad2, the new iPad Supported Video Formats & Movie Formats
    H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
     Cheers, Tom

  • On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?

    On Firefox 4, how can I put one "new tab" on the "tab bar" (The + sign) and one next to the "back/forward" buttons (as in FF 3.6)?
    In my current Firefox, the "new tab" icon/item from the "customize" pop-up window menu of items is placed next to my home, back, forward buttons near the top-left of my header (Button 1 for "new tab"). Then, the tab bar automatically come with a small tab (with a + sign) to the right of your last tab opened (so you click on + and a new tab opens. Button 2 for "new tab"). I like to have this "new tab" button twice (as a + mini tab, and next to my "home icon".
    When I upgraded to Firefox 4, I seemed to be only able to "customize" or use the "new tab" in one place. Either as an icon next to home button, or as a "+ minitab", but NOT both.
    What can I do to put this button in Firefox 4 on BOTH places???
    Your help is really appreciated. I want to upgrade, but I want my buttons on both places...
    I upgraded to FF 4, but downgraded again just because this feature... that's just me of coarse :-)

    *New tab toolbar button: https://addons.mozilla.org/firefox/addon/new-tab-toolbar-button/

Maybe you are looking for