Screen x,y control of a simple pop-up Confirm mini-window. Possible?

Is it possible to control where on the screen an small confirm pop-up window will appear?
I want not to appear in the middle but next to the right screen side.
Do I need to build it and not use the default confirm window?

You would need to create your own window, as an example...
var w = new Window('dialog','Test');
var tmp =$.screens.toString().split('-');
var screenSize=tmp[1].toString().split(':');
var windowWidth = 300; //adjust to suit
w.frameLocation=[Number(screenSize[0])-windowWidth,Number(screenSize[1])/2];
w.t1 = w.add('statictext',undefined,"This is a test");
w.bu1 = w.add('button',undefined,'Cancel');
w.show();
This will create a window with the top of the window half way down the sceen, and to the right of the screen. The only problem is you have to enter a fixed number for the width of the window (var windowWidth = 300;)

Similar Messages

  • My MacBook Pro stated that it needed to be updated. I clicked yes to restart the computer and update but when it restarted it stays on the gray screen with the apple logo and then pops up, stating "unable to find driver for this platform." What do I do?

    My MacBook Pro stated that it needed to be updated. I clicked yes to restart the computer and update but when it restarted it stays on the gray screen with the apple logo and then pops up, stating "unable to find driver for this platform." What do I do?

    Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
    Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with networks that require any kind of authentication other than a WPA or WPA2 Personal password.
    When the Mac OS X Utilities screen appears, follow the prompts to reinstall the Mac OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac didn’t ship with Lion, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.
    Don't install the Thunderbolt update -- it's defective.

  • I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    I there, my question is quite simple, I would like to know if the "apple remote control" can be used with a mac mini and , if so, it can be used to control also the "logic pro" functions (e.g. record, start, stop etc). Thks a lot, Danilo

    Good work, thanks for the report.

  • In the component overview screen of CO01 I want  to disable all  the field in  screen of table control.I want to make it as output screen only.

    Hi all
      In the component overview screen of CO01 I want  to disable all  the field in  screen of table control.I want to make it as output screen only.
    Thanks & Regards,
    Rajib.

    Isn't that just exactly what transaction CO02 does? CO01 is for creating production orders so what sense does it make to have it display mode only?
    Maybe your goal is to stop then end user changing the component assignment that is automatically  detected by the system. If so, personally I think a better starting point would be PP configuration or user authorizations rather than looking to change the screen by whatever method. As we don't know what you are trying to achieve it's hard to offer much more advice maybe all you need is to change transaction to CO02

  • Dynamic screen and custom control

    Hi,
    I have to create a screen and custom control dynamically within a method and display alv grid. Is this possible?
    regards,
    Madhu

    hi,
    this is a smple program just try in this way.plz do reward points if it is of some use
    data:obj type ref to zcl_test_alv.
    parameter:p_mblnr type zbshd-mblnr.
    start-of-selection.
    set screen 100.
    *&      Module  STATUS_0100  OUTPUT
          text
    module STATUS_0100 output.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'xxx'.
    if obj is initial.
    create object obj
    exporting p_con = 'MATERIAL_DOC'.
    endif.
    CALL METHOD obj->get_data
        exporting p_mat = p_mblnr.
    endmodule.                 " STATUS_0100  OUTPUT
    The above is an executable program.
    zcl_test_alv is a class which u need to create in se24 according to ur requirement
    u need to define methods and attributes.
    for example there are 3 methods
    constructor
    get_data
    put_data
    method GET_DATA.
    SELECT mblnr
             mblpo
             matnr
             maktx
             meins
             menge
             waers
             dmbtr
             INTO corresponding fields of TABLE it_mm
             FROM  zbsit
             WHERE mblnr = p_mat.
    if sy-subrc = 0.
    call method put_data.
    endif.
    endmethod.
    method PUT_DATA.
    DATA : it_fldcat TYPE lvc_t_fcat.
      DATA : wa_fldcat LIKE LINE OF it_fldcat.
      DATA : it_sort TYPE lvc_t_sort,
             wa_sort LIKE LINE OF it_sort.
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    EXPORTING
      I_BUFFER_ACTIVE              =
       I_STRUCTURE_NAME             = 'ZBMDC'
      I_CLIENT_NEVER_DISPLAY       = 'X'
      I_BYPASSING_BUFFER           =
      I_INTERNAL_TABNAME           = 'ZBSIT'
      CHANGING
        ct_fieldcat                  = it_fldcat[]
    EXCEPTIONS
      INCONSISTENT_INTERFACE       = 1
      PROGRAM_ERROR                = 2
      OTHERS                       = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      EXIT.
      ELSE.
        LOOP AT it_fldcat INTO wa_fldcat.
          CASE wa_fldcat-fieldname.
            WHEN 'MBLNR'.
              wa_fldcat-reptext   = 'Material Doc no'.
            WHEN 'MBLPO'.
              wa_fldcat-reptext   = 'Item Material Doc'.
              wa_fldcat-ref_table = 'X'.
            WHEN 'MATNR'.
              wa_fldcat-reptext   = 'Material No'.
              wa_fldcat-ref_table = 'X'.
            WHEN 'MAKTX'.
              wa_fldcat-reptext   = 'Description'.
              wa_fldcat-do_sum    = 'X'.
            WHEN 'MEINS'.
              wa_fldcat-reptext   = 'UOM'.
              wa_fldcat-do_sum    = 'X'.
            WHEN 'MENGE'.
              wa_fldcat-reptext   = 'QUAN'.
              wa_fldcat-do_sum    = 'X'.
            WHEN 'WAERS'.
              wa_fldcat-reptext   = 'CurrKey'.
              wa_fldcat-do_sum    = 'X'.
            WHEN 'DMBTR'.
              wa_fldcat-reptext   = 'curr'.
              wa_fldcat-do_sum    = 'X'.
          ENDCASE.
          MODIFY it_fldcat FROM wa_fldcat INDEX sy-tabix.
        ENDLOOP.
        wa_sort-fieldname = 'MBLNR'.
        wa_sort-up        = 'X'.
        wa_sort-subtot    = 'X'.
        APPEND wa_sort TO it_sort.
    ENDIF.
    CALL METHOD o_grid->set_table_for_first_display
    EXPORTING
       i_buffer_active               =
       i_bypassing_buffer            =
       i_consistency_check           =
       i_structure_name              =
       is_variant                    =
       i_save                        =
       i_default                     = 'x'
       is_layout                     =
       is_print                      =
       it_special_groups             =
       it_toolbar_excluding          =
       it_hyperlink                  =
       it_alv_graphics               =
       it_except_qinfo               =
       ir_salv_adapter               =
      CHANGING
        it_outtab                     = it_mm[]
        it_fieldcatalog               = it_fldcat[]
        it_sort                       = it_sort
       it_filter                     =
    EXCEPTIONS
       invalid_parameter_combination = 1
       program_error                 = 2
       too_many_lines                = 3
       others                        = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
               WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endmethod.
    method CONSTRUCTOR.
    CREATE OBJECT o_con
        EXPORTING
           container_name      = p_con .
      IF sy-subrc = 0.
        CREATE OBJECT o_grid
          EXPORTING
             i_parent          = o_con .
      ENDIF.
    endmethod.
    Attributes are
    o_con type ref to CL_GUI_CUSTOM_CONTAINER
    o_grid type ref to CL_GUI_ALV_GRID
    it_mm type zmdoc
    to get alv grid ,in layout editor u need to create custom control
    for constructor method u should have a parameter p_con with default value as 'MATERIAL_DOC'
    Im just explaining the above program use this as reference and try.

  • ADD Splash Screen to the SAP B1 DE  Simple Installer.

    can i add a Splash Screen to the SAP B1 DE Simple Installer ?
    if yes how to do it.
    when i deploy my addons i want the installer to accept an installation serial & install the addons only if the serial key entered in valid.
    has someone done this thing before or can someone help me in doing this.
    thanks in advance
    Ketan Joshi

    Hi Ketan,
    You can add as many screens as you like in the simple installer. You only need to open the generated project and add you screen as the other steps already there. To desing your screen you only have to manage with .NET windows design.
    Regards
    Trinidad.

  • "screen sharing is controlled by "remote management".   ***?? help please!

    I am trying to get to my home computer from my away computer for the first time
    I have someone at the house who has turned sharing on but when they go to select screen sharing they get this message:
    screen sharing is controlled by "remote management".
    and an inability to click on the box.
    what's up??
    help please
    smiles
    kt

    Hey KT,
    I found a document that goes over that "Screen Sharing is currently being controlled by the Remote Management service" alert message. I'd see if any of the suggested steps help:
    Back to My Mac: Alert states Screen Sharing is controlled by Remote Management
    http://support.apple.com/kb/TS3647
    Welcome to Apple Support Communities!
    All the best,
    Delgadoh

  • When I attempted to open the Devices and Printers screen in the Control Panel, I get a blank screen.

    My Devices and Printers screen in the Control Panel just shows a blank screen

    <moved from Adobe Creative Cloud to Bridge General Discussion>

  • HT5858 When I swipe up from the bottom of the screen to use control center I am not able to use the music controls for music or podcasts and music controls do not work on the lock screen either is anybody else having this problem???????

    When I swipe up from the bottom of the screen to use control center I am not able to use the music controls for music or podcasts and music controls do not work on the lock screen either is anybody else having this problem???????

    Not really sur easy you would be having that problem.  Mine works.  You might try RESET DEVICE
    Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost). Then try again and see if it makes a difference

  • Urgent : Issue with Pop to confirm

    l_popup = l_window_manager->create_popup_to_confirm(
      text = str_table
      button_kind = 1
      message_type = 1
    close_button =  'X'
      window_title = 'Confirmation'
      window_position = if_wd_window=>co_center ).
    Here is my code to show pop to confirm screen. I want OK pop up so i used the value "1" for button_kind parameter but i get this runtime error saying
    "No Button 7 Is Defined for Popup POPUP_TO_CONFIRM"
    even after passing the value as 1 iam not able figure out why the system is taking the valye as 7. can someone please give me an immediate solution for this.
    Thanks,
    Suri

    Hi,
    i tried with same thing in m y system and it is working .
    Do one thing :
         <b>Check the fixed values in the domain of WDR_POPUP_BUTTON_KIND.</b>
    whether 1 is defined for ok.
    Madhu

  • My version of Macromedia Flash ActiveX Control isn't compatible with my version of Windows

    I am trying to use a new copy of Camtasia Studio 3, and I keep gettiong the error message that my version of Macromedia Flash ActiveX Control isn't compatible with my version of Windows and that I should ocntact Adobe for support. So here I am.
    I am running Windows7 64bit, and it's a brand new computer so I know that there aren't tons of legacy installations or Flash players on it. This page http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html tells me that I have Flash Player version 11.4.31.110 installed but that I should have 11.4.402.287 installed. But I have installed the latest Flash player from the Adobe site (twice!) and it never gives me an option for 11.4.31.110 vs 11.4.402.287.
    I am using Chrome and Flash is working fine in my browser: It's only Camtasia that isn't working well.
    Thanks!

    Hm, I assume you mean Camtasia Studio 8?
    Check the chart on the page you linked. You'll see that the version you have installed is in fact the latest version for Chrome. They haven't updated it beyond that. Each browser engine has its own latest version of flash. IE and Mozilla are 11.4.402.287.
    Aside that, there's no reason Camtasia should be requiring you to have that version of flash. Make sure when you're publishing your content that you don't check off any options to "require the user to have the latest version of Flash". You should also (if possible in your project) try to target MP4/HTML5. Check any HTML being generated with it (hopefully using SWFObject) and check for the version checking code. There is absolutely nothing Camtasia needs to require the latest version to do. I've been using Camtasia (TechSmith codec mostly) for screen recording since version 2.

  • Just installed Malwarebyte and i am still getting unwanted pop ups and new windows.

    Just installed Malwarebyte and i am still getting unwanted pop ups and new windows.

    You can supplement your Malwarebytes Anti-Malware scan with some other tools Firefox users have found effective. See: [[Troubleshoot Firefox issues caused by malware]].
    But it also makes sense to check a couple of things manually.
    (1) Extensions installed in Firefox
    Open the Add-ons page using either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then take a careful look and disable everything you either don't recognize or don't use regularly. If Firefox prompts you to restart to make the change effective, you can do that as the last step after completing your review of the list.
    (2) Windows Control Panel, Uninstall a Program
    Click the "Installed on" column heading to bring the most recent infections, I mean, additions, to the top. This is useful in revealing bundles that may have snuck unwanted software onto your PC. Remove everything you don't remember choosing intentionally.
    Any improvement?

  • I am having a problem with pop pups and small windows with ads constantly opening up on my safari?? Thought that macs didn't get virus? this looks like one- any experts around? please help me fix it with your instructions? really don't know what to do...

    Hi everyone,
    I am having a problem with my Mac OS X 10.7.5 mac book air , there are constant pop pups and small windows with ads blinking constantly opening up on my safari in front of everything?? it is constantly interupting me and makes me mistakingly click on it then another new windows open behind the one im using..
    I am not too sure if thats a virus or trojan.. I always thought that macs didn't get virus? this looks like one to me… any experts around? please help me fix it with your instructions? really don't know what to do... thanks

    Those are not viruses. You have probably installed some malware:
    The Safe Mac » Adware Removal Guide
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using Dr.Web Light from the App Store. It's free, and since it's from the App Store, it won't destabilize the system. If you prefer one of the better known commercial products, then Thomas recommends using Sophos.(Thank you to Thomas Reed for these recommendations.) If you already use Sophos, then be aware of this if you are using Mavericks: OS X Mavericks- Sophos Anti-Virus on-access scanner versions 8.0 - 9.1 may cause unexpected restarts
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • How to pop-up Outlook Email window with To: blank?

    Hi All,
    I currently have a page which shows multiple rows with checkboxes. I have an After Submit process which loops through the rows and stores some values of the checked rows into a variable to be used as the body of an email. I then call apex_mail.send() to send the email.
    Instead of prepopulating a TO: address within the process and have it send automatically, I would like to have Outlook pop-up the email window with the body prepopulated as mentioned above but with the TO: address box null so that the user can select the address from Outlook's Address Book.
    Any help/advice would be greatly appreciated!
    Thanks,
    Jason

    1: Yup.. It would look something like this:
    <a href="mailto:?body=aslkdjldfks">Open Email</a>  the # should read:
    "mailto:?body=aslkdjldfks"
    2: If you go this route, there are a few things you need to remember:
    The mailto tag is client side. So you would have to generate the javascript on the server and print it out on the client.
    If your users do not have Outlook, or another mail client, this will do nothing.
    If you have a really long message body it will not work.
    If you have weird characters you will need to encode these.
    So, if you still think that the mailto is what you need then here is some javascript that will auto open it for you:
    http://www.webmasterworld.com/javascript/3290040.htm

  • Solution to iCloud control panel 4 sign-in server error under windows 8.1x64

    Potential solution for icloud 3.1 and 4.0 installation and iTune store sign-in, all showing errors or sign-in errors due to server error.
    My setup is Iphone 4S upgraded to ios8, ipad Air still on 7.1.2, windows PC on Win8.1x64 and with icloud 3.1 working fine till I tried to
    upgrade/install/re-install 4.0 icloud control panel after upgrade to ios8. See end of message for other alternatives I had tried.
    This worked for me.
    There seem to be some programmes that is conflicting with Apple's, so download this free program autoruns suggested by Apple software on Windows: May see performance issues and blank iTunes Store
    Run the program and choose the the "Winsock Providers", any other programme that shows up here except Bonjour (which is used by Apple) may be conflicting with the sign-in.
    Uninstall those potentially conflicting programs
    Inside autoruns->Winsock Provider, right click on the conflicting programs and choose delete. This would stop the conflicting program to start up
    again. Reboot the computer
    Install icloud control panel, sign in
    If works, reinstall those conflicting programs again and all back to normal, with iCloud control panel working
    If doesn't work, my mojo not strong enough and you need to google for more help.
    Other activities I googled, tried and failed
    a) Adding Apple icloud program and services into the windows firewall
    b) Uninstall version 4.0, re-install 3.1 (about 10 times)
    c) create a new Apple ID to sign in
    d) Sign out of icloud from my devices (iphone and ipad)
    e) switch to Android devices

    You need to edit the MSI installer and change the Launch Condition to allow iCloud Control Panel 3.1 to be installed on Windows Server 2008 R2.
    First, download Orca, an MSI editor. You can get it from the Windows SDK. (Download and only check the box for "Development Tools" under Native components during installation, then go to C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin and install Orca.msi)
    Launch Orca and then find the iCloud(64).msi to edit.
    If using Apple Software Update, browse to C:\Users\<username>\AppData\Local\Apple\Apple Software Update and open iCloud(64).msi in Orca.
    Or download iCloudSetup.exe and use a zip program (7-zip) to extract the MSI from the exe and open it in Orca.
    In Orca, select the LaunchCondition table and look for the condition "(VersionNT >= 601) AND (MsiNTProductType = 1)". Change the number 1 to a number 3 so the condition should read "(VersionNT >= 601) AND (MsiNTProductType = 3)". Save and exit Orca.
    Then double click on the msi and it should install successfully now.

Maybe you are looking for

  • Permission problem calling a java object from a store procedure

    When I run my store procedure CREATE OR REPLACE PACKAGE BODY confirms_write_to_file AS FUNCTION translate(in_en_var in VARCHAR2) RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'translate.translatePath(java.lang.String) return java.lang.String'; PROCEDURE writ

  • RFC Sender error - lookup of alternativeServiceIdentifier

    Hi, I am trying to configure an R/3-XI-Java proxy scenario using the RFC adapter as sender. When I execute the RFC on the R/3 system using the RFC destination, I get the exception SYSTEM_FAILURE. In the RFC adapter monitor, the error message  is "com

  • HOW TO DOWNLOAD MY CAMERA

     

  • [CSX] [JS] Where am I?

    hi all, i just checked the possibilities of ui scripting and i'm quite amazed what is possible without big fuzz... but i can't realize how i can find the insertion point or current position in an open document from my script. i just think about sth l

  • VAMT Queries

    -          Can we activate office 2013 pro plus volume license edition using VAMT 2.0